Package org.mlflow.api.proto
Class ModelRegistry.SetRegisteredModelTag.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.SetRegisteredModelTag.Builder>
-
- org.mlflow.api.proto.ModelRegistry.SetRegisteredModelTag.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,ModelRegistry.SetRegisteredModelTagOrBuilder
- Enclosing class:
- ModelRegistry.SetRegisteredModelTag
public static final class ModelRegistry.SetRegisteredModelTag.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.SetRegisteredModelTag.Builder> implements ModelRegistry.SetRegisteredModelTagOrBuilder
Protobuf typemlflow.SetRegisteredModelTag
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelRegistry.SetRegisteredModelTag.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ModelRegistry.SetRegisteredModelTag
build()
ModelRegistry.SetRegisteredModelTag
buildPartial()
ModelRegistry.SetRegisteredModelTag.Builder
clear()
ModelRegistry.SetRegisteredModelTag.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ModelRegistry.SetRegisteredModelTag.Builder
clearKey()
Name of the tag.ModelRegistry.SetRegisteredModelTag.Builder
clearName()
Unique name of the model.ModelRegistry.SetRegisteredModelTag.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ModelRegistry.SetRegisteredModelTag.Builder
clearValue()
String value of the tag being logged.ModelRegistry.SetRegisteredModelTag.Builder
clone()
ModelRegistry.SetRegisteredModelTag
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getKey()
Name of the tag.com.google.protobuf.ByteString
getKeyBytes()
Name of the tag.java.lang.String
getName()
Unique name of the model.com.google.protobuf.ByteString
getNameBytes()
Unique name of the model.java.lang.String
getValue()
String value of the tag being logged.com.google.protobuf.ByteString
getValueBytes()
String value of the tag being logged.boolean
hasKey()
Name of the tag.boolean
hasName()
Unique name of the model.boolean
hasValue()
String value of the tag being logged.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ModelRegistry.SetRegisteredModelTag.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ModelRegistry.SetRegisteredModelTag.Builder
mergeFrom(com.google.protobuf.Message other)
ModelRegistry.SetRegisteredModelTag.Builder
mergeFrom(ModelRegistry.SetRegisteredModelTag other)
ModelRegistry.SetRegisteredModelTag.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ModelRegistry.SetRegisteredModelTag.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ModelRegistry.SetRegisteredModelTag.Builder
setKey(java.lang.String value)
Name of the tag.ModelRegistry.SetRegisteredModelTag.Builder
setKeyBytes(com.google.protobuf.ByteString value)
Name of the tag.ModelRegistry.SetRegisteredModelTag.Builder
setName(java.lang.String value)
Unique name of the model.ModelRegistry.SetRegisteredModelTag.Builder
setNameBytes(com.google.protobuf.ByteString value)
Unique name of the model.ModelRegistry.SetRegisteredModelTag.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ModelRegistry.SetRegisteredModelTag.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ModelRegistry.SetRegisteredModelTag.Builder
setValue(java.lang.String value)
String value of the tag being logged.ModelRegistry.SetRegisteredModelTag.Builder
setValueBytes(com.google.protobuf.ByteString value)
String value of the tag being logged.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.SetRegisteredModelTag.Builder>
-
clear
public ModelRegistry.SetRegisteredModelTag.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.SetRegisteredModelTag.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.SetRegisteredModelTag.Builder>
-
getDefaultInstanceForType
public ModelRegistry.SetRegisteredModelTag getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ModelRegistry.SetRegisteredModelTag build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ModelRegistry.SetRegisteredModelTag buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ModelRegistry.SetRegisteredModelTag.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.SetRegisteredModelTag.Builder>
-
setField
public ModelRegistry.SetRegisteredModelTag.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.SetRegisteredModelTag.Builder>
-
clearField
public ModelRegistry.SetRegisteredModelTag.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.SetRegisteredModelTag.Builder>
-
clearOneof
public ModelRegistry.SetRegisteredModelTag.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.SetRegisteredModelTag.Builder>
-
setRepeatedField
public ModelRegistry.SetRegisteredModelTag.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.SetRegisteredModelTag.Builder>
-
addRepeatedField
public ModelRegistry.SetRegisteredModelTag.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.SetRegisteredModelTag.Builder>
-
mergeFrom
public ModelRegistry.SetRegisteredModelTag.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModelRegistry.SetRegisteredModelTag.Builder>
-
mergeFrom
public ModelRegistry.SetRegisteredModelTag.Builder mergeFrom(ModelRegistry.SetRegisteredModelTag other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.SetRegisteredModelTag.Builder>
-
mergeFrom
public ModelRegistry.SetRegisteredModelTag.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModelRegistry.SetRegisteredModelTag.Builder>
- Throws:
java.io.IOException
-
hasName
public boolean hasName()
Unique name of the model.
optional string name = 1 [(.mlflow.validate_required) = true];
- Specified by:
hasName
in interfaceModelRegistry.SetRegisteredModelTagOrBuilder
- Returns:
- Whether the name field is set.
-
getName
public java.lang.String getName()
Unique name of the model.
optional string name = 1 [(.mlflow.validate_required) = true];
- Specified by:
getName
in interfaceModelRegistry.SetRegisteredModelTagOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Unique name of the model.
optional string name = 1 [(.mlflow.validate_required) = true];
- Specified by:
getNameBytes
in interfaceModelRegistry.SetRegisteredModelTagOrBuilder
- Returns:
- The bytes for name.
-
setName
public ModelRegistry.SetRegisteredModelTag.Builder setName(java.lang.String value)
Unique name of the model.
optional string name = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public ModelRegistry.SetRegisteredModelTag.Builder clearName()
Unique name of the model.
optional string name = 1 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setNameBytes
public ModelRegistry.SetRegisteredModelTag.Builder setNameBytes(com.google.protobuf.ByteString value)
Unique name of the model.
optional string name = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasKey
public boolean hasKey()
Name of the tag. Maximum size depends on storage backend. If a tag with this name already exists, its preexisting value will be replaced by the specified `value`. All storage backends are guaranteed to support key values up to 250 bytes in size.
optional string key = 2 [(.mlflow.validate_required) = true];
- Specified by:
hasKey
in interfaceModelRegistry.SetRegisteredModelTagOrBuilder
- Returns:
- Whether the key field is set.
-
getKey
public java.lang.String getKey()
Name of the tag. Maximum size depends on storage backend. If a tag with this name already exists, its preexisting value will be replaced by the specified `value`. All storage backends are guaranteed to support key values up to 250 bytes in size.
optional string key = 2 [(.mlflow.validate_required) = true];
- Specified by:
getKey
in interfaceModelRegistry.SetRegisteredModelTagOrBuilder
- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()
Name of the tag. Maximum size depends on storage backend. If a tag with this name already exists, its preexisting value will be replaced by the specified `value`. All storage backends are guaranteed to support key values up to 250 bytes in size.
optional string key = 2 [(.mlflow.validate_required) = true];
- Specified by:
getKeyBytes
in interfaceModelRegistry.SetRegisteredModelTagOrBuilder
- Returns:
- The bytes for key.
-
setKey
public ModelRegistry.SetRegisteredModelTag.Builder setKey(java.lang.String value)
Name of the tag. Maximum size depends on storage backend. If a tag with this name already exists, its preexisting value will be replaced by the specified `value`. All storage backends are guaranteed to support key values up to 250 bytes in size.
optional string key = 2 [(.mlflow.validate_required) = true];
- Parameters:
value
- The key to set.- Returns:
- This builder for chaining.
-
clearKey
public ModelRegistry.SetRegisteredModelTag.Builder clearKey()
Name of the tag. Maximum size depends on storage backend. If a tag with this name already exists, its preexisting value will be replaced by the specified `value`. All storage backends are guaranteed to support key values up to 250 bytes in size.
optional string key = 2 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setKeyBytes
public ModelRegistry.SetRegisteredModelTag.Builder setKeyBytes(com.google.protobuf.ByteString value)
Name of the tag. Maximum size depends on storage backend. If a tag with this name already exists, its preexisting value will be replaced by the specified `value`. All storage backends are guaranteed to support key values up to 250 bytes in size.
optional string key = 2 [(.mlflow.validate_required) = true];
- Parameters:
value
- The bytes for key to set.- Returns:
- This builder for chaining.
-
hasValue
public boolean hasValue()
String value of the tag being logged. Maximum size depends on storage backend.
optional string value = 3 [(.mlflow.validate_required) = true];
- Specified by:
hasValue
in interfaceModelRegistry.SetRegisteredModelTagOrBuilder
- Returns:
- Whether the value field is set.
-
getValue
public java.lang.String getValue()
String value of the tag being logged. Maximum size depends on storage backend.
optional string value = 3 [(.mlflow.validate_required) = true];
- Specified by:
getValue
in interfaceModelRegistry.SetRegisteredModelTagOrBuilder
- Returns:
- The value.
-
getValueBytes
public com.google.protobuf.ByteString getValueBytes()
String value of the tag being logged. Maximum size depends on storage backend.
optional string value = 3 [(.mlflow.validate_required) = true];
- Specified by:
getValueBytes
in interfaceModelRegistry.SetRegisteredModelTagOrBuilder
- Returns:
- The bytes for value.
-
setValue
public ModelRegistry.SetRegisteredModelTag.Builder setValue(java.lang.String value)
String value of the tag being logged. Maximum size depends on storage backend.
optional string value = 3 [(.mlflow.validate_required) = true];
- Parameters:
value
- The value to set.- Returns:
- This builder for chaining.
-
clearValue
public ModelRegistry.SetRegisteredModelTag.Builder clearValue()
String value of the tag being logged. Maximum size depends on storage backend.
optional string value = 3 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setValueBytes
public ModelRegistry.SetRegisteredModelTag.Builder setValueBytes(com.google.protobuf.ByteString value)
String value of the tag being logged. Maximum size depends on storage backend.
optional string value = 3 [(.mlflow.validate_required) = true];
- Parameters:
value
- The bytes for value to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ModelRegistry.SetRegisteredModelTag.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.SetRegisteredModelTag.Builder>
-
mergeUnknownFields
public final ModelRegistry.SetRegisteredModelTag.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.SetRegisteredModelTag.Builder>
-
-