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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getAlias()
Name of the alias.com.google.protobuf.ByteString
getAliasBytes()
Name of the alias.java.lang.String
getName()
Name of the registered model.com.google.protobuf.ByteString
getNameBytes()
Name of the registered model.java.lang.String
getVersion()
Model version number.com.google.protobuf.ByteString
getVersionBytes()
Model version number.boolean
hasAlias()
Name of the alias.boolean
hasName()
Name of the registered model.boolean
hasVersion()
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()
Name of the registered model.
optional string name = 1 [(.mlflow.validate_required) = true];
- Returns:
- Whether the name field is set.
-
getName
java.lang.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
java.lang.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
java.lang.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.
-
-