Class ModelRegistry.ModelVersionTag.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.ModelVersionTag.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.ModelVersionTag.Builder>
      • getDefaultInstanceForType

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

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

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

        public ModelRegistry.ModelVersionTag.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                      int index,
                                                                      java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersionTag.Builder>
      • addRepeatedField

        public ModelRegistry.ModelVersionTag.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                      java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.ModelVersionTag.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.ModelVersionTag.Builder>
      • mergeFrom

        public ModelRegistry.ModelVersionTag.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.ModelVersionTag.Builder>
        Throws:
        java.io.IOException
      • setKey

        public ModelRegistry.ModelVersionTag.Builder setKey​(java.lang.String value)
         The tag key.
         
        optional string key = 1;
        Parameters:
        value - The key to set.
        Returns:
        This builder for chaining.
      • setKeyBytes

        public ModelRegistry.ModelVersionTag.Builder setKeyBytes​(com.google.protobuf.ByteString value)
         The tag key.
         
        optional string key = 1;
        Parameters:
        value - The bytes for key to set.
        Returns:
        This builder for chaining.
      • setValue

        public ModelRegistry.ModelVersionTag.Builder setValue​(java.lang.String value)
         The tag value.
         
        optional string value = 2;
        Parameters:
        value - The value to set.
        Returns:
        This builder for chaining.
      • setValueBytes

        public ModelRegistry.ModelVersionTag.Builder setValueBytes​(com.google.protobuf.ByteString value)
         The tag value.
         
        optional string value = 2;
        Parameters:
        value - The bytes for value to set.
        Returns:
        This builder for chaining.