Package org.mlflow.api.proto
Interface ModelRegistry.SetRegisteredModelAliasOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ModelRegistry.SetRegisteredModelAlias
,ModelRegistry.SetRegisteredModelAlias.Builder
- Enclosing class:
ModelRegistry
public static interface ModelRegistry.SetRegisteredModelAliasOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAlias()
Name of the alias.com.google.protobuf.ByteString
Name of the alias.getName()
Name of the registered model.com.google.protobuf.ByteString
Name of the registered model.Model version number.com.google.protobuf.ByteString
Model version number.boolean
hasAlias()
Name of the alias.boolean
hasName()
Name of the registered model.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()Name of the registered model.
optional string name = 1 [(.mlflow.validate_required) = true];
- Returns:
- Whether the name field is set.
-
getName
String getName()Name of the registered model.
optional string name = 1 [(.mlflow.validate_required) = true];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of the registered model.
optional string name = 1 [(.mlflow.validate_required) = true];
- Returns:
- The bytes for name.
-
hasAlias
boolean hasAlias()Name of the alias. Maximum size depends on storage backend. If an alias with this name already exists, its preexisting value will be replaced by the specified `version`. All storage backends are guaranteed to support alias name values up to 256 bytes in size.
optional string alias = 2 [(.mlflow.validate_required) = true];
- Returns:
- Whether the alias field is set.
-
getAlias
String getAlias()Name of the alias. Maximum size depends on storage backend. If an alias with this name already exists, its preexisting value will be replaced by the specified `version`. All storage backends are guaranteed to support alias name values up to 256 bytes in size.
optional string alias = 2 [(.mlflow.validate_required) = true];
- Returns:
- The alias.
-
getAliasBytes
com.google.protobuf.ByteString getAliasBytes()Name of the alias. Maximum size depends on storage backend. If an alias with this name already exists, its preexisting value will be replaced by the specified `version`. All storage backends are guaranteed to support alias name values up to 256 bytes in size.
optional string alias = 2 [(.mlflow.validate_required) = true];
- Returns:
- The bytes for alias.
-
hasVersion
boolean hasVersion()Model version number.
optional string version = 3 [(.mlflow.validate_required) = true];
- Returns:
- Whether the version field is set.
-
getVersion
String getVersion()Model version number.
optional string version = 3 [(.mlflow.validate_required) = true];
- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()Model version number.
optional string version = 3 [(.mlflow.validate_required) = true];
- Returns:
- The bytes for version.
-