Package org.mlflow.api.proto
Interface ModelRegistry.SetModelVersionTagOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ModelRegistry.SetModelVersionTag,ModelRegistry.SetModelVersionTag.Builder
- Enclosing class:
- ModelRegistry
public static interface ModelRegistry.SetModelVersionTagOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetKey()Name of the tag.com.google.protobuf.ByteStringgetKeyBytes()Name of the tag.java.lang.StringgetName()Unique name of the model.com.google.protobuf.ByteStringgetNameBytes()Unique name of the model.java.lang.StringgetValue()String value of the tag being logged.com.google.protobuf.ByteStringgetValueBytes()String value of the tag being logged.java.lang.StringgetVersion()Model version number.com.google.protobuf.ByteStringgetVersionBytes()Model version number.booleanhasKey()Name of the tag.booleanhasName()Unique name of the model.booleanhasValue()String value of the tag being logged.booleanhasVersion()Model version number.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasName
boolean hasName()
Unique name of the model.
optional string name = 1 [(.mlflow.validate_required) = true];- Returns:
- Whether the name field is set.
-
getName
java.lang.String getName()
Unique name of the model.
optional string name = 1 [(.mlflow.validate_required) = true];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Unique name of the model.
optional string name = 1 [(.mlflow.validate_required) = true];- Returns:
- The bytes for name.
-
hasVersion
boolean hasVersion()
Model version number.
optional string version = 2 [(.mlflow.validate_required) = true];- Returns:
- Whether the version field is set.
-
getVersion
java.lang.String getVersion()
Model version number.
optional string version = 2 [(.mlflow.validate_required) = true];- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()
Model version number.
optional string version = 2 [(.mlflow.validate_required) = true];- Returns:
- The bytes for version.
-
hasKey
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 = 3 [(.mlflow.validate_required) = true];- Returns:
- Whether the key field is set.
-
getKey
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 = 3 [(.mlflow.validate_required) = true];- Returns:
- The key.
-
getKeyBytes
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 = 3 [(.mlflow.validate_required) = true];- Returns:
- The bytes for key.
-
hasValue
boolean hasValue()
String value of the tag being logged. Maximum size depends on storage backend.
optional string value = 4 [(.mlflow.validate_required) = true];- Returns:
- Whether the value field is set.
-
getValue
java.lang.String getValue()
String value of the tag being logged. Maximum size depends on storage backend.
optional string value = 4 [(.mlflow.validate_required) = true];- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()
String value of the tag being logged. Maximum size depends on storage backend.
optional string value = 4 [(.mlflow.validate_required) = true];- Returns:
- The bytes for value.
-
-