Package org.mlflow.api.proto
Interface ModelRegistry.GetModelVersionByAliasOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ModelRegistry.GetModelVersionByAlias
,ModelRegistry.GetModelVersionByAlias.Builder
- Enclosing class:
ModelRegistry
public static interface ModelRegistry.GetModelVersionByAliasOrBuilder
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.boolean
hasAlias()
Name of the alias.boolean
hasName()
Name of the registered model.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 is 256 bytes.
optional string alias = 2 [(.mlflow.validate_required) = true];
- Returns:
- Whether the alias field is set.
-
getAlias
String getAlias()Name of the alias. Maximum size is 256 bytes.
optional string alias = 2 [(.mlflow.validate_required) = true];
- Returns:
- The alias.
-
getAliasBytes
com.google.protobuf.ByteString getAliasBytes()Name of the alias. Maximum size is 256 bytes.
optional string alias = 2 [(.mlflow.validate_required) = true];
- Returns:
- The bytes for alias.
-