Class ModelRegistry.GetLatestVersions.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.GetLatestVersions.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.GetLatestVersions.Builder>
      • getDefaultInstanceForType

        public ModelRegistry.GetLatestVersions getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ModelRegistry.GetLatestVersions build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ModelRegistry.GetLatestVersions buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.GetLatestVersions.Builder>
      • mergeFrom

        public ModelRegistry.GetLatestVersions.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                          throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ModelRegistry.GetLatestVersions.Builder>
        Throws:
        java.io.IOException
      • hasName

        public boolean hasName()
         Registered model unique name identifier.
         
        optional string name = 1 [(.mlflow.validate_required) = true];
        Specified by:
        hasName in interface ModelRegistry.GetLatestVersionsOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public java.lang.String getName()
         Registered model unique name identifier.
         
        optional string name = 1 [(.mlflow.validate_required) = true];
        Specified by:
        getName in interface ModelRegistry.GetLatestVersionsOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Registered model unique name identifier.
         
        optional string name = 1 [(.mlflow.validate_required) = true];
        Specified by:
        getNameBytes in interface ModelRegistry.GetLatestVersionsOrBuilder
        Returns:
        The bytes for name.
      • setName

        public ModelRegistry.GetLatestVersions.Builder setName​(java.lang.String value)
         Registered model unique name identifier.
         
        optional string name = 1 [(.mlflow.validate_required) = true];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public ModelRegistry.GetLatestVersions.Builder clearName()
         Registered model unique name identifier.
         
        optional string name = 1 [(.mlflow.validate_required) = true];
        Returns:
        This builder for chaining.
      • setNameBytes

        public ModelRegistry.GetLatestVersions.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Registered model unique name identifier.
         
        optional string name = 1 [(.mlflow.validate_required) = true];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getStages

        public java.lang.String getStages​(int index)
         List of stages.
         
        repeated string stages = 2;
        Specified by:
        getStages in interface ModelRegistry.GetLatestVersionsOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The stages at the given index.
      • getStagesBytes

        public com.google.protobuf.ByteString getStagesBytes​(int index)
         List of stages.
         
        repeated string stages = 2;
        Specified by:
        getStagesBytes in interface ModelRegistry.GetLatestVersionsOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the stages at the given index.
      • setStages

        public ModelRegistry.GetLatestVersions.Builder setStages​(int index,
                                                                 java.lang.String value)
         List of stages.
         
        repeated string stages = 2;
        Parameters:
        index - The index to set the value at.
        value - The stages to set.
        Returns:
        This builder for chaining.
      • addStages

        public ModelRegistry.GetLatestVersions.Builder addStages​(java.lang.String value)
         List of stages.
         
        repeated string stages = 2;
        Parameters:
        value - The stages to add.
        Returns:
        This builder for chaining.
      • addAllStages

        public ModelRegistry.GetLatestVersions.Builder addAllStages​(java.lang.Iterable<java.lang.String> values)
         List of stages.
         
        repeated string stages = 2;
        Parameters:
        values - The stages to add.
        Returns:
        This builder for chaining.
      • addStagesBytes

        public ModelRegistry.GetLatestVersions.Builder addStagesBytes​(com.google.protobuf.ByteString value)
         List of stages.
         
        repeated string stages = 2;
        Parameters:
        value - The bytes of the stages to add.
        Returns:
        This builder for chaining.