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
Modifier and TypeMethodDescriptiongetKey()
Name of the tag.com.google.protobuf.ByteString
Name of the tag.getName()
Unique name of the model.com.google.protobuf.ByteString
Unique name of the model.getValue()
String value of the tag being logged.com.google.protobuf.ByteString
String value of the tag being logged.Model version number.com.google.protobuf.ByteString
Model version number.boolean
hasKey()
Name of the tag.boolean
hasName()
Unique name of the model.boolean
hasValue()
String value of the tag being logged.boolean
Model version number.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()Unique name of the model.
optional string name = 1 [(.mlflow.validate_required) = true];
- Returns:
- Whether the name field is set.
-
getName
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
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
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
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.
-