Package org.mlflow.api.proto
Class Service.SetTag.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Service.SetTag.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Service.SetTag.Builder>
org.mlflow.api.proto.Service.SetTag.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Service.SetTagOrBuilder
- Enclosing class:
Service.SetTag
public static final class Service.SetTag.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Service.SetTag.Builder>
implements Service.SetTagOrBuilder
Protobuf type
mlflow.SetTag
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearKey()
Name of the tag.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) ID of the run under which to log the tag.[Deprecated, use run_id instead] ID of the run under which to log the tag.String value of the tag being logged.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getKey()
Name of the tag.com.google.protobuf.ByteString
Name of the tag.getRunId()
ID of the run under which to log the tag.com.google.protobuf.ByteString
ID of the run under which to log the tag.[Deprecated, use run_id instead] ID of the run under which to log the tag.com.google.protobuf.ByteString
[Deprecated, use run_id instead] ID of the run under which to log the tag.getValue()
String value of the tag being logged.com.google.protobuf.ByteString
String value of the tag being logged.boolean
hasKey()
Name of the tag.boolean
hasRunId()
ID of the run under which to log the tag.boolean
[Deprecated, use run_id instead] ID of the run under which to log the tag.boolean
hasValue()
String value of the tag being logged.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Service.SetTag other) final Service.SetTag.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Name of the tag.setKeyBytes
(com.google.protobuf.ByteString value) Name of the tag.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) ID of the run under which to log the tag.setRunIdBytes
(com.google.protobuf.ByteString value) ID of the run under which to log the tag.setRunUuid
(String value) [Deprecated, use run_id instead] ID of the run under which to log the tag.setRunUuidBytes
(com.google.protobuf.ByteString value) [Deprecated, use run_id instead] ID of the run under which to log the tag.final Service.SetTag.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) String value of the tag being logged.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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<Service.SetTag.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<Service.SetTag.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<Service.SetTag.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.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<Service.SetTag.Builder>
-
setField
public Service.SetTag.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SetTag.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SetTag.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SetTag.Builder>
-
setRepeatedField
public Service.SetTag.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SetTag.Builder>
-
addRepeatedField
public Service.SetTag.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SetTag.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.SetTag.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SetTag.Builder>
-
mergeFrom
public Service.SetTag.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<Service.SetTag.Builder>
- Throws:
IOException
-
hasRunId
public boolean hasRunId()ID of the run under which to log the tag. Must be provided.
optional string run_id = 4;
- Specified by:
hasRunId
in interfaceService.SetTagOrBuilder
- Returns:
- Whether the runId field is set.
-
getRunId
ID of the run under which to log the tag. Must be provided.
optional string run_id = 4;
- Specified by:
getRunId
in interfaceService.SetTagOrBuilder
- Returns:
- The runId.
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()ID of the run under which to log the tag. Must be provided.
optional string run_id = 4;
- Specified by:
getRunIdBytes
in interfaceService.SetTagOrBuilder
- Returns:
- The bytes for runId.
-
setRunId
ID of the run under which to log the tag. Must be provided.
optional string run_id = 4;
- Parameters:
value
- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
ID of the run under which to log the tag. Must be provided.
optional string run_id = 4;
- Returns:
- This builder for chaining.
-
setRunIdBytes
ID of the run under which to log the tag. Must be provided.
optional string run_id = 4;
- Parameters:
value
- The bytes for runId to set.- Returns:
- This builder for chaining.
-
hasRunUuid
public boolean hasRunUuid()[Deprecated, use run_id instead] ID of the run under which to log the tag. This field will be removed in a future MLflow version.
optional string run_uuid = 1;
- Specified by:
hasRunUuid
in interfaceService.SetTagOrBuilder
- Returns:
- Whether the runUuid field is set.
-
getRunUuid
[Deprecated, use run_id instead] ID of the run under which to log the tag. This field will be removed in a future MLflow version.
optional string run_uuid = 1;
- Specified by:
getRunUuid
in interfaceService.SetTagOrBuilder
- Returns:
- The runUuid.
-
getRunUuidBytes
public com.google.protobuf.ByteString getRunUuidBytes()[Deprecated, use run_id instead] ID of the run under which to log the tag. This field will be removed in a future MLflow version.
optional string run_uuid = 1;
- Specified by:
getRunUuidBytes
in interfaceService.SetTagOrBuilder
- Returns:
- The bytes for runUuid.
-
setRunUuid
[Deprecated, use run_id instead] ID of the run under which to log the tag. This field will be removed in a future MLflow version.
optional string run_uuid = 1;
- Parameters:
value
- The runUuid to set.- Returns:
- This builder for chaining.
-
clearRunUuid
[Deprecated, use run_id instead] ID of the run under which to log the tag. This field will be removed in a future MLflow version.
optional string run_uuid = 1;
- Returns:
- This builder for chaining.
-
setRunUuidBytes
[Deprecated, use run_id instead] ID of the run under which to log the tag. This field will be removed in a future MLflow version.
optional string run_uuid = 1;
- Parameters:
value
- The bytes for runUuid to set.- Returns:
- This builder for chaining.
-
hasKey
public boolean hasKey()Name of the tag. Maximum size depends on storage backend. 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 interfaceService.SetTagOrBuilder
- Returns:
- Whether the key field is set.
-
getKey
Name of the tag. Maximum size depends on storage backend. 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 interfaceService.SetTagOrBuilder
- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()Name of the tag. Maximum size depends on storage backend. 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 interfaceService.SetTagOrBuilder
- Returns:
- The bytes for key.
-
setKey
Name of the tag. Maximum size depends on storage backend. 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
Name of the tag. Maximum size depends on storage backend. 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
Name of the tag. Maximum size depends on storage backend. 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. All storage backends are guaranteed to support key values up to 5000 bytes in size.
optional string value = 3 [(.mlflow.validate_required) = true];
- Specified by:
hasValue
in interfaceService.SetTagOrBuilder
- Returns:
- Whether the value field is set.
-
getValue
String value of the tag being logged. Maximum size depends on storage backend. All storage backends are guaranteed to support key values up to 5000 bytes in size.
optional string value = 3 [(.mlflow.validate_required) = true];
- Specified by:
getValue
in interfaceService.SetTagOrBuilder
- Returns:
- The value.
-
getValueBytes
public com.google.protobuf.ByteString getValueBytes()String value of the tag being logged. Maximum size depends on storage backend. All storage backends are guaranteed to support key values up to 5000 bytes in size.
optional string value = 3 [(.mlflow.validate_required) = true];
- Specified by:
getValueBytes
in interfaceService.SetTagOrBuilder
- Returns:
- The bytes for value.
-
setValue
String value of the tag being logged. Maximum size depends on storage backend. All storage backends are guaranteed to support key values up to 5000 bytes in size.
optional string value = 3 [(.mlflow.validate_required) = true];
- Parameters:
value
- The value to set.- Returns:
- This builder for chaining.
-
clearValue
String value of the tag being logged. Maximum size depends on storage backend. All storage backends are guaranteed to support key values up to 5000 bytes in size.
optional string value = 3 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setValueBytes
String value of the tag being logged. Maximum size depends on storage backend. All storage backends are guaranteed to support key values up to 5000 bytes in size.
optional string value = 3 [(.mlflow.validate_required) = true];
- Parameters:
value
- The bytes for value to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Service.SetTag.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SetTag.Builder>
-
mergeUnknownFields
public final Service.SetTag.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SetTag.Builder>
-