Package org.mlflow.api.proto
Interface ModelRegistry.RegisteredModelAliasOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ModelRegistry.RegisteredModelAlias
,ModelRegistry.RegisteredModelAlias.Builder
- Enclosing class:
ModelRegistry
public static interface ModelRegistry.RegisteredModelAliasOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAlias()
The name of the alias.com.google.protobuf.ByteString
The name of the alias.The model version number that the alias points to.com.google.protobuf.ByteString
The model version number that the alias points to.boolean
hasAlias()
The name of the alias.boolean
The model version number that the alias points to.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
-
hasAlias
boolean hasAlias()The name of the alias.
optional string alias = 1;
- Returns:
- Whether the alias field is set.
-
getAlias
String getAlias()The name of the alias.
optional string alias = 1;
- Returns:
- The alias.
-
getAliasBytes
com.google.protobuf.ByteString getAliasBytes()The name of the alias.
optional string alias = 1;
- Returns:
- The bytes for alias.
-
hasVersion
boolean hasVersion()The model version number that the alias points to.
optional string version = 2;
- Returns:
- Whether the version field is set.
-
getVersion
String getVersion()The model version number that the alias points to.
optional string version = 2;
- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()The model version number that the alias points to.
optional string version = 2;
- Returns:
- The bytes for version.
-