Package org.mlflow.api.proto
Class ModelRegistry.ModelVersion
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.mlflow.api.proto.ModelRegistry.ModelVersion
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.io.Serializable
,ModelRegistry.ModelVersionOrBuilder
- Enclosing class:
- ModelRegistry
public static final class ModelRegistry.ModelVersion extends com.google.protobuf.GeneratedMessageV3 implements ModelRegistry.ModelVersionOrBuilder
Protobuf typemlflow.ModelVersion
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ModelRegistry.ModelVersion.Builder
Protobuf typemlflow.ModelVersion
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.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 Summary
Fields Modifier and Type Field Description static int
ALIASES_FIELD_NUMBER
static int
CREATION_TIMESTAMP_FIELD_NUMBER
static int
CURRENT_STAGE_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
LAST_UPDATED_TIMESTAMP_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static com.google.protobuf.Parser<ModelRegistry.ModelVersion>
PARSER
Deprecated.static int
RUN_ID_FIELD_NUMBER
static int
RUN_LINK_FIELD_NUMBER
static int
SOURCE_FIELD_NUMBER
static int
STATUS_FIELD_NUMBER
static int
STATUS_MESSAGE_FIELD_NUMBER
static int
TAGS_FIELD_NUMBER
static int
USER_ID_FIELD_NUMBER
static int
VERSION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getAliases(int index)
Aliases pointing to this ``model_version``.com.google.protobuf.ByteString
getAliasesBytes(int index)
Aliases pointing to this ``model_version``.int
getAliasesCount()
Aliases pointing to this ``model_version``.com.google.protobuf.ProtocolStringList
getAliasesList()
Aliases pointing to this ``model_version``.long
getCreationTimestamp()
Timestamp recorded when this ``model_version`` was created.java.lang.String
getCurrentStage()
Current stage for this ``model_version``.com.google.protobuf.ByteString
getCurrentStageBytes()
Current stage for this ``model_version``.static ModelRegistry.ModelVersion
getDefaultInstance()
ModelRegistry.ModelVersion
getDefaultInstanceForType()
java.lang.String
getDescription()
Description of this ``model_version``.com.google.protobuf.ByteString
getDescriptionBytes()
Description of this ``model_version``.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
long
getLastUpdatedTimestamp()
Timestamp recorded when metadata for this ``model_version`` was last updated.java.lang.String
getName()
Unique name of the modelcom.google.protobuf.ByteString
getNameBytes()
Unique name of the modelcom.google.protobuf.Parser<ModelRegistry.ModelVersion>
getParserForType()
java.lang.String
getRunId()
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.com.google.protobuf.ByteString
getRunIdBytes()
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.java.lang.String
getRunLink()
Run Link: Direct link to the run that generated this version.com.google.protobuf.ByteString
getRunLinkBytes()
Run Link: Direct link to the run that generated this version.int
getSerializedSize()
java.lang.String
getSource()
URI indicating the location of the source model artifacts, used when creating ``model_version``com.google.protobuf.ByteString
getSourceBytes()
URI indicating the location of the source model artifacts, used when creating ``model_version``ModelRegistry.ModelVersionStatus
getStatus()
Current status of ``model_version``java.lang.String
getStatusMessage()
Details on current ``status``, if it is pending or failed.com.google.protobuf.ByteString
getStatusMessageBytes()
Details on current ``status``, if it is pending or failed.ModelRegistry.ModelVersionTag
getTags(int index)
Tags: Additional metadata key-value pairs for this ``model_version``.int
getTagsCount()
Tags: Additional metadata key-value pairs for this ``model_version``.java.util.List<ModelRegistry.ModelVersionTag>
getTagsList()
Tags: Additional metadata key-value pairs for this ``model_version``.ModelRegistry.ModelVersionTagOrBuilder
getTagsOrBuilder(int index)
Tags: Additional metadata key-value pairs for this ``model_version``.java.util.List<? extends ModelRegistry.ModelVersionTagOrBuilder>
getTagsOrBuilderList()
Tags: Additional metadata key-value pairs for this ``model_version``.com.google.protobuf.UnknownFieldSet
getUnknownFields()
java.lang.String
getUserId()
User that created this ``model_version``.com.google.protobuf.ByteString
getUserIdBytes()
User that created this ``model_version``.java.lang.String
getVersion()
Model's version number.com.google.protobuf.ByteString
getVersionBytes()
Model's version number.boolean
hasCreationTimestamp()
Timestamp recorded when this ``model_version`` was created.boolean
hasCurrentStage()
Current stage for this ``model_version``.boolean
hasDescription()
Description of this ``model_version``.int
hashCode()
boolean
hasLastUpdatedTimestamp()
Timestamp recorded when metadata for this ``model_version`` was last updated.boolean
hasName()
Unique name of the modelboolean
hasRunId()
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.boolean
hasRunLink()
Run Link: Direct link to the run that generated this version.boolean
hasSource()
URI indicating the location of the source model artifacts, used when creating ``model_version``boolean
hasStatus()
Current status of ``model_version``boolean
hasStatusMessage()
Details on current ``status``, if it is pending or failed.boolean
hasUserId()
User that created this ``model_version``.boolean
hasVersion()
Model's version number.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ModelRegistry.ModelVersion.Builder
newBuilder()
static ModelRegistry.ModelVersion.Builder
newBuilder(ModelRegistry.ModelVersion prototype)
ModelRegistry.ModelVersion.Builder
newBuilderForType()
protected ModelRegistry.ModelVersion.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ModelRegistry.ModelVersion
parseDelimitedFrom(java.io.InputStream input)
static ModelRegistry.ModelVersion
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelRegistry.ModelVersion
parseFrom(byte[] data)
static ModelRegistry.ModelVersion
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelRegistry.ModelVersion
parseFrom(com.google.protobuf.ByteString data)
static ModelRegistry.ModelVersion
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelRegistry.ModelVersion
parseFrom(com.google.protobuf.CodedInputStream input)
static ModelRegistry.ModelVersion
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelRegistry.ModelVersion
parseFrom(java.io.InputStream input)
static ModelRegistry.ModelVersion
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelRegistry.ModelVersion
parseFrom(java.nio.ByteBuffer data)
static ModelRegistry.ModelVersion
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ModelRegistry.ModelVersion>
parser()
ModelRegistry.ModelVersion.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, 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.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_UPDATED_TIMESTAMP_FIELD_NUMBER
public static final int LAST_UPDATED_TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USER_ID_FIELD_NUMBER
public static final int USER_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CURRENT_STAGE_FIELD_NUMBER
public static final int CURRENT_STAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUN_ID_FIELD_NUMBER
public static final int RUN_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_MESSAGE_FIELD_NUMBER
public static final int STATUS_MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUN_LINK_FIELD_NUMBER
public static final int RUN_LINK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALIASES_FIELD_NUMBER
public static final int ALIASES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<ModelRegistry.ModelVersion> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasName
public boolean hasName()
Unique name of the model
optional string name = 1;
- Specified by:
hasName
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the name field is set.
-
getName
public java.lang.String getName()
Unique name of the model
optional string name = 1;
- Specified by:
getName
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Unique name of the model
optional string name = 1;
- Specified by:
getNameBytes
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The bytes for name.
-
hasVersion
public boolean hasVersion()
Model's version number.
optional string version = 2;
- Specified by:
hasVersion
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the version field is set.
-
getVersion
public java.lang.String getVersion()
Model's version number.
optional string version = 2;
- Specified by:
getVersion
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
Model's version number.
optional string version = 2;
- Specified by:
getVersionBytes
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The bytes for version.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
Timestamp recorded when this ``model_version`` was created.
optional int64 creation_timestamp = 3;
- Specified by:
hasCreationTimestamp
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public long getCreationTimestamp()
Timestamp recorded when this ``model_version`` was created.
optional int64 creation_timestamp = 3;
- Specified by:
getCreationTimestamp
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The creationTimestamp.
-
hasLastUpdatedTimestamp
public boolean hasLastUpdatedTimestamp()
Timestamp recorded when metadata for this ``model_version`` was last updated.
optional int64 last_updated_timestamp = 4;
- Specified by:
hasLastUpdatedTimestamp
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the lastUpdatedTimestamp field is set.
-
getLastUpdatedTimestamp
public long getLastUpdatedTimestamp()
Timestamp recorded when metadata for this ``model_version`` was last updated.
optional int64 last_updated_timestamp = 4;
- Specified by:
getLastUpdatedTimestamp
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The lastUpdatedTimestamp.
-
hasUserId
public boolean hasUserId()
User that created this ``model_version``.
optional string user_id = 5;
- Specified by:
hasUserId
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the userId field is set.
-
getUserId
public java.lang.String getUserId()
User that created this ``model_version``.
optional string user_id = 5;
- Specified by:
getUserId
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The userId.
-
getUserIdBytes
public com.google.protobuf.ByteString getUserIdBytes()
User that created this ``model_version``.
optional string user_id = 5;
- Specified by:
getUserIdBytes
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The bytes for userId.
-
hasCurrentStage
public boolean hasCurrentStage()
Current stage for this ``model_version``.
optional string current_stage = 6;
- Specified by:
hasCurrentStage
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the currentStage field is set.
-
getCurrentStage
public java.lang.String getCurrentStage()
Current stage for this ``model_version``.
optional string current_stage = 6;
- Specified by:
getCurrentStage
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The currentStage.
-
getCurrentStageBytes
public com.google.protobuf.ByteString getCurrentStageBytes()
Current stage for this ``model_version``.
optional string current_stage = 6;
- Specified by:
getCurrentStageBytes
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The bytes for currentStage.
-
hasDescription
public boolean hasDescription()
Description of this ``model_version``.
optional string description = 7;
- Specified by:
hasDescription
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
public java.lang.String getDescription()
Description of this ``model_version``.
optional string description = 7;
- Specified by:
getDescription
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Description of this ``model_version``.
optional string description = 7;
- Specified by:
getDescriptionBytes
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The bytes for description.
-
hasSource
public boolean hasSource()
URI indicating the location of the source model artifacts, used when creating ``model_version``
optional string source = 8;
- Specified by:
hasSource
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the source field is set.
-
getSource
public java.lang.String getSource()
URI indicating the location of the source model artifacts, used when creating ``model_version``
optional string source = 8;
- Specified by:
getSource
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()
URI indicating the location of the source model artifacts, used when creating ``model_version``
optional string source = 8;
- Specified by:
getSourceBytes
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The bytes for source.
-
hasRunId
public boolean hasRunId()
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.
optional string run_id = 9;
- Specified by:
hasRunId
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the runId field is set.
-
getRunId
public java.lang.String getRunId()
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.
optional string run_id = 9;
- Specified by:
getRunId
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The runId.
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()
MLflow run ID used when creating ``model_version``, if ``source`` was generated by an experiment run stored in MLflow tracking server.
optional string run_id = 9;
- Specified by:
getRunIdBytes
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The bytes for runId.
-
hasStatus
public boolean hasStatus()
Current status of ``model_version``
optional .mlflow.ModelVersionStatus status = 10;
- Specified by:
hasStatus
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
public ModelRegistry.ModelVersionStatus getStatus()
Current status of ``model_version``
optional .mlflow.ModelVersionStatus status = 10;
- Specified by:
getStatus
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The status.
-
hasStatusMessage
public boolean hasStatusMessage()
Details on current ``status``, if it is pending or failed.
optional string status_message = 11;
- Specified by:
hasStatusMessage
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the statusMessage field is set.
-
getStatusMessage
public java.lang.String getStatusMessage()
Details on current ``status``, if it is pending or failed.
optional string status_message = 11;
- Specified by:
getStatusMessage
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The statusMessage.
-
getStatusMessageBytes
public com.google.protobuf.ByteString getStatusMessageBytes()
Details on current ``status``, if it is pending or failed.
optional string status_message = 11;
- Specified by:
getStatusMessageBytes
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The bytes for statusMessage.
-
getTagsList
public java.util.List<ModelRegistry.ModelVersionTag> getTagsList()
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
- Specified by:
getTagsList
in interfaceModelRegistry.ModelVersionOrBuilder
-
getTagsOrBuilderList
public java.util.List<? extends ModelRegistry.ModelVersionTagOrBuilder> getTagsOrBuilderList()
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
- Specified by:
getTagsOrBuilderList
in interfaceModelRegistry.ModelVersionOrBuilder
-
getTagsCount
public int getTagsCount()
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
- Specified by:
getTagsCount
in interfaceModelRegistry.ModelVersionOrBuilder
-
getTags
public ModelRegistry.ModelVersionTag getTags(int index)
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
- Specified by:
getTags
in interfaceModelRegistry.ModelVersionOrBuilder
-
getTagsOrBuilder
public ModelRegistry.ModelVersionTagOrBuilder getTagsOrBuilder(int index)
Tags: Additional metadata key-value pairs for this ``model_version``.
repeated .mlflow.ModelVersionTag tags = 12;
- Specified by:
getTagsOrBuilder
in interfaceModelRegistry.ModelVersionOrBuilder
-
hasRunLink
public boolean hasRunLink()
Run Link: Direct link to the run that generated this version. This field is set at model version creation time only for model versions whose source run is from a tracking server that is different from the registry server.
optional string run_link = 13;
- Specified by:
hasRunLink
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- Whether the runLink field is set.
-
getRunLink
public java.lang.String getRunLink()
Run Link: Direct link to the run that generated this version. This field is set at model version creation time only for model versions whose source run is from a tracking server that is different from the registry server.
optional string run_link = 13;
- Specified by:
getRunLink
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The runLink.
-
getRunLinkBytes
public com.google.protobuf.ByteString getRunLinkBytes()
Run Link: Direct link to the run that generated this version. This field is set at model version creation time only for model versions whose source run is from a tracking server that is different from the registry server.
optional string run_link = 13;
- Specified by:
getRunLinkBytes
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The bytes for runLink.
-
getAliasesList
public com.google.protobuf.ProtocolStringList getAliasesList()
Aliases pointing to this ``model_version``.
repeated string aliases = 14;
- Specified by:
getAliasesList
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- A list containing the aliases.
-
getAliasesCount
public int getAliasesCount()
Aliases pointing to this ``model_version``.
repeated string aliases = 14;
- Specified by:
getAliasesCount
in interfaceModelRegistry.ModelVersionOrBuilder
- Returns:
- The count of aliases.
-
getAliases
public java.lang.String getAliases(int index)
Aliases pointing to this ``model_version``.
repeated string aliases = 14;
- Specified by:
getAliases
in interfaceModelRegistry.ModelVersionOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The aliases at the given index.
-
getAliasesBytes
public com.google.protobuf.ByteString getAliasesBytes(int index)
Aliases pointing to this ``model_version``.
repeated string aliases = 14;
- Specified by:
getAliasesBytes
in interfaceModelRegistry.ModelVersionOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the aliases at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ModelRegistry.ModelVersion parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelRegistry.ModelVersion parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelRegistry.ModelVersion parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelRegistry.ModelVersion parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelRegistry.ModelVersion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelRegistry.ModelVersion parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelRegistry.ModelVersion parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ModelRegistry.ModelVersion parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ModelRegistry.ModelVersion parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ModelRegistry.ModelVersion parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ModelRegistry.ModelVersion parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ModelRegistry.ModelVersion parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public ModelRegistry.ModelVersion.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ModelRegistry.ModelVersion.Builder newBuilder()
-
newBuilder
public static ModelRegistry.ModelVersion.Builder newBuilder(ModelRegistry.ModelVersion prototype)
-
toBuilder
public ModelRegistry.ModelVersion.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ModelRegistry.ModelVersion.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ModelRegistry.ModelVersion getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ModelRegistry.ModelVersion> parser()
-
getParserForType
public com.google.protobuf.Parser<ModelRegistry.ModelVersion> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ModelRegistry.ModelVersion getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-