Package org.mlflow.api.proto
Class ModelRegistry.SetRegisteredModelAlias
- java.lang.Object
- 
- com.google.protobuf.AbstractMessageLite
- 
- com.google.protobuf.AbstractMessage
- 
- com.google.protobuf.GeneratedMessageV3
- 
- org.mlflow.api.proto.ModelRegistry.SetRegisteredModelAlias
 
 
 
 
- 
- All Implemented Interfaces:
- com.google.protobuf.Message,- com.google.protobuf.MessageLite,- com.google.protobuf.MessageLiteOrBuilder,- com.google.protobuf.MessageOrBuilder,- java.io.Serializable,- ModelRegistry.SetRegisteredModelAliasOrBuilder
 - Enclosing class:
- ModelRegistry
 
 public static final class ModelRegistry.SetRegisteredModelAlias extends com.google.protobuf.GeneratedMessageV3 implements ModelRegistry.SetRegisteredModelAliasOrBuilder Protobuf typemlflow.SetRegisteredModelAlias- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classModelRegistry.SetRegisteredModelAlias.BuilderProtobuf typemlflow.SetRegisteredModelAliasstatic classModelRegistry.SetRegisteredModelAlias.ResponseProtobuf typemlflow.SetRegisteredModelAlias.Responsestatic interfaceModelRegistry.SetRegisteredModelAlias.ResponseOrBuilder- 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static intALIAS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic com.google.protobuf.Parser<ModelRegistry.SetRegisteredModelAlias>PARSERDeprecated.static intVERSION_FIELD_NUMBER
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAlias()Name of the alias.com.google.protobuf.ByteStringgetAliasBytes()Name of the alias.static ModelRegistry.SetRegisteredModelAliasgetDefaultInstance()ModelRegistry.SetRegisteredModelAliasgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()java.lang.StringgetName()Name of the registered model.com.google.protobuf.ByteStringgetNameBytes()Name of the registered model.com.google.protobuf.Parser<ModelRegistry.SetRegisteredModelAlias>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()java.lang.StringgetVersion()Model version number.com.google.protobuf.ByteStringgetVersionBytes()Model version number.booleanhasAlias()Name of the alias.inthashCode()booleanhasName()Name of the registered model.booleanhasVersion()Model version number.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ModelRegistry.SetRegisteredModelAlias.BuildernewBuilder()static ModelRegistry.SetRegisteredModelAlias.BuildernewBuilder(ModelRegistry.SetRegisteredModelAlias prototype)ModelRegistry.SetRegisteredModelAlias.BuildernewBuilderForType()protected ModelRegistry.SetRegisteredModelAlias.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ModelRegistry.SetRegisteredModelAliasparseDelimitedFrom(java.io.InputStream input)static ModelRegistry.SetRegisteredModelAliasparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelRegistry.SetRegisteredModelAliasparseFrom(byte[] data)static ModelRegistry.SetRegisteredModelAliasparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelRegistry.SetRegisteredModelAliasparseFrom(com.google.protobuf.ByteString data)static ModelRegistry.SetRegisteredModelAliasparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelRegistry.SetRegisteredModelAliasparseFrom(com.google.protobuf.CodedInputStream input)static ModelRegistry.SetRegisteredModelAliasparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelRegistry.SetRegisteredModelAliasparseFrom(java.io.InputStream input)static ModelRegistry.SetRegisteredModelAliasparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelRegistry.SetRegisteredModelAliasparseFrom(java.nio.ByteBuffer data)static ModelRegistry.SetRegisteredModelAliasparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ModelRegistry.SetRegisteredModelAlias>parser()ModelRegistry.SetRegisteredModelAlias.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)- 
Methods inherited from class com.google.protobuf.GeneratedMessageV3canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
 - 
Methods inherited from class com.google.protobuf.AbstractMessagefindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
 - 
Methods inherited from class com.google.protobuf.AbstractMessageLiteaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
- 
 
- 
- 
- 
Field Detail- 
NAME_FIELD_NUMBERpublic static final int NAME_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
ALIAS_FIELD_NUMBERpublic static final int ALIAS_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
VERSION_FIELD_NUMBERpublic static final int VERSION_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
PARSER@Deprecated public static final com.google.protobuf.Parser<ModelRegistry.SetRegisteredModelAlias> PARSER Deprecated.
 
- 
 - 
Method Detail- 
newInstanceprotected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) - Overrides:
- newInstancein class- com.google.protobuf.GeneratedMessageV3
 
 - 
getUnknownFieldspublic final com.google.protobuf.UnknownFieldSet getUnknownFields() - Specified by:
- getUnknownFieldsin interface- com.google.protobuf.MessageOrBuilder
- Overrides:
- getUnknownFieldsin class- com.google.protobuf.GeneratedMessageV3
 
 - 
getDescriptorpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor() 
 - 
internalGetFieldAccessorTableprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() - Specified by:
- internalGetFieldAccessorTablein class- com.google.protobuf.GeneratedMessageV3
 
 - 
hasNamepublic boolean hasName() Name of the registered model. optional string name = 1 [(.mlflow.validate_required) = true];- Specified by:
- hasNamein interface- ModelRegistry.SetRegisteredModelAliasOrBuilder
- Returns:
- Whether the name field is set.
 
 - 
getNamepublic java.lang.String getName() Name of the registered model. optional string name = 1 [(.mlflow.validate_required) = true];- Specified by:
- getNamein interface- ModelRegistry.SetRegisteredModelAliasOrBuilder
- Returns:
- The name.
 
 - 
getNameBytespublic com.google.protobuf.ByteString getNameBytes() Name of the registered model. optional string name = 1 [(.mlflow.validate_required) = true];- Specified by:
- getNameBytesin interface- ModelRegistry.SetRegisteredModelAliasOrBuilder
- Returns:
- The bytes for name.
 
 - 
hasAliaspublic 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];- Specified by:
- hasAliasin interface- ModelRegistry.SetRegisteredModelAliasOrBuilder
- Returns:
- Whether the alias field is set.
 
 - 
getAliaspublic 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];- Specified by:
- getAliasin interface- ModelRegistry.SetRegisteredModelAliasOrBuilder
- Returns:
- The alias.
 
 - 
getAliasBytespublic 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];- Specified by:
- getAliasBytesin interface- ModelRegistry.SetRegisteredModelAliasOrBuilder
- Returns:
- The bytes for alias.
 
 - 
hasVersionpublic boolean hasVersion() Model version number. optional string version = 3 [(.mlflow.validate_required) = true];- Specified by:
- hasVersionin interface- ModelRegistry.SetRegisteredModelAliasOrBuilder
- Returns:
- Whether the version field is set.
 
 - 
getVersionpublic java.lang.String getVersion() Model version number. optional string version = 3 [(.mlflow.validate_required) = true];- Specified by:
- getVersionin interface- ModelRegistry.SetRegisteredModelAliasOrBuilder
- Returns:
- The version.
 
 - 
getVersionBytespublic com.google.protobuf.ByteString getVersionBytes() Model version number. optional string version = 3 [(.mlflow.validate_required) = true];- Specified by:
- getVersionBytesin interface- ModelRegistry.SetRegisteredModelAliasOrBuilder
- Returns:
- The bytes for version.
 
 - 
isInitializedpublic final boolean isInitialized() - Specified by:
- isInitializedin interface- com.google.protobuf.MessageLiteOrBuilder
- Overrides:
- isInitializedin class- com.google.protobuf.GeneratedMessageV3
 
 - 
writeTopublic void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
- writeToin interface- com.google.protobuf.MessageLite
- Overrides:
- writeToin class- com.google.protobuf.GeneratedMessageV3
- Throws:
- java.io.IOException
 
 - 
getSerializedSizepublic int getSerializedSize() - Specified by:
- getSerializedSizein interface- com.google.protobuf.MessageLite
- Overrides:
- getSerializedSizein class- com.google.protobuf.GeneratedMessageV3
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Specified by:
- equalsin interface- com.google.protobuf.Message
- Overrides:
- equalsin class- com.google.protobuf.AbstractMessage
 
 - 
hashCodepublic int hashCode() - Specified by:
- hashCodein interface- com.google.protobuf.Message
- Overrides:
- hashCodein class- com.google.protobuf.AbstractMessage
 
 - 
parseFrompublic static ModelRegistry.SetRegisteredModelAlias parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static ModelRegistry.SetRegisteredModelAlias parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static ModelRegistry.SetRegisteredModelAlias parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static ModelRegistry.SetRegisteredModelAlias parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static ModelRegistry.SetRegisteredModelAlias parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static ModelRegistry.SetRegisteredModelAlias parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static ModelRegistry.SetRegisteredModelAlias parseFrom(java.io.InputStream input) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
parseFrompublic static ModelRegistry.SetRegisteredModelAlias parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
parseDelimitedFrompublic static ModelRegistry.SetRegisteredModelAlias parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
parseDelimitedFrompublic static ModelRegistry.SetRegisteredModelAlias parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
parseFrompublic static ModelRegistry.SetRegisteredModelAlias parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
parseFrompublic static ModelRegistry.SetRegisteredModelAlias parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
newBuilderForTypepublic ModelRegistry.SetRegisteredModelAlias.Builder newBuilderForType() - Specified by:
- newBuilderForTypein interface- com.google.protobuf.Message
- Specified by:
- newBuilderForTypein interface- com.google.protobuf.MessageLite
 
 - 
newBuilderpublic static ModelRegistry.SetRegisteredModelAlias.Builder newBuilder() 
 - 
newBuilderpublic static ModelRegistry.SetRegisteredModelAlias.Builder newBuilder(ModelRegistry.SetRegisteredModelAlias prototype) 
 - 
toBuilderpublic ModelRegistry.SetRegisteredModelAlias.Builder toBuilder() - Specified by:
- toBuilderin interface- com.google.protobuf.Message
- Specified by:
- toBuilderin interface- com.google.protobuf.MessageLite
 
 - 
newBuilderForTypeprotected ModelRegistry.SetRegisteredModelAlias.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
- newBuilderForTypein class- com.google.protobuf.GeneratedMessageV3
 
 - 
getDefaultInstancepublic static ModelRegistry.SetRegisteredModelAlias getDefaultInstance() 
 - 
parserpublic static com.google.protobuf.Parser<ModelRegistry.SetRegisteredModelAlias> parser() 
 - 
getParserForTypepublic com.google.protobuf.Parser<ModelRegistry.SetRegisteredModelAlias> getParserForType() - Specified by:
- getParserForTypein interface- com.google.protobuf.Message
- Specified by:
- getParserForTypein interface- com.google.protobuf.MessageLite
- Overrides:
- getParserForTypein class- com.google.protobuf.GeneratedMessageV3
 
 - 
getDefaultInstanceForTypepublic ModelRegistry.SetRegisteredModelAlias getDefaultInstanceForType() - Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageLiteOrBuilder
- Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageOrBuilder
 
 
- 
 
-