Package org.mlflow.api.proto
Class ModelRegistry.GetLatestVersions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.GetLatestVersions.Builder>
org.mlflow.api.proto.ModelRegistry.GetLatestVersions.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,ModelRegistry.GetLatestVersionsOrBuilder
- Enclosing class:
- ModelRegistry.GetLatestVersions
public static final class ModelRegistry.GetLatestVersions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.GetLatestVersions.Builder> implements ModelRegistry.GetLatestVersionsOrBuilder
Protobuf type
mlflow.GetLatestVersions
-
Method Summary
Modifier and Type Method Description ModelRegistry.GetLatestVersions.Builder
addAllStages(java.lang.Iterable<java.lang.String> values)
List of stages.ModelRegistry.GetLatestVersions.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ModelRegistry.GetLatestVersions.Builder
addStages(java.lang.String value)
List of stages.ModelRegistry.GetLatestVersions.Builder
addStagesBytes(com.google.protobuf.ByteString value)
List of stages.ModelRegistry.GetLatestVersions
build()
ModelRegistry.GetLatestVersions
buildPartial()
ModelRegistry.GetLatestVersions.Builder
clear()
ModelRegistry.GetLatestVersions.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ModelRegistry.GetLatestVersions.Builder
clearName()
Registered model unique name identifier.ModelRegistry.GetLatestVersions.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ModelRegistry.GetLatestVersions.Builder
clearStages()
List of stages.ModelRegistry.GetLatestVersions.Builder
clone()
ModelRegistry.GetLatestVersions
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getName()
Registered model unique name identifier.com.google.protobuf.ByteString
getNameBytes()
Registered model unique name identifier.java.lang.String
getStages(int index)
List of stages.com.google.protobuf.ByteString
getStagesBytes(int index)
List of stages.int
getStagesCount()
List of stages.com.google.protobuf.ProtocolStringList
getStagesList()
List of stages.boolean
hasName()
Registered model unique name identifier.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ModelRegistry.GetLatestVersions.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ModelRegistry.GetLatestVersions.Builder
mergeFrom(com.google.protobuf.Message other)
ModelRegistry.GetLatestVersions.Builder
mergeFrom(ModelRegistry.GetLatestVersions other)
ModelRegistry.GetLatestVersions.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ModelRegistry.GetLatestVersions.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ModelRegistry.GetLatestVersions.Builder
setName(java.lang.String value)
Registered model unique name identifier.ModelRegistry.GetLatestVersions.Builder
setNameBytes(com.google.protobuf.ByteString value)
Registered model unique name identifier.ModelRegistry.GetLatestVersions.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ModelRegistry.GetLatestVersions.Builder
setStages(int index, java.lang.String value)
List of stages.ModelRegistry.GetLatestVersions.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
Method Details
-
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.Builder<ModelRegistry.GetLatestVersions.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.GetLatestVersions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.GetLatestVersions.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.GetLatestVersions.Builder>
-
setField
public ModelRegistry.GetLatestVersions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.GetLatestVersions.Builder>
-
clearField
public ModelRegistry.GetLatestVersions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.GetLatestVersions.Builder>
-
clearOneof
public ModelRegistry.GetLatestVersions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.GetLatestVersions.Builder>
-
setRepeatedField
public ModelRegistry.GetLatestVersions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.GetLatestVersions.Builder>
-
addRepeatedField
public ModelRegistry.GetLatestVersions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.GetLatestVersions.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModelRegistry.GetLatestVersions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.GetLatestVersions.Builder>
-
mergeFrom
public ModelRegistry.GetLatestVersions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModelRegistry.GetLatestVersions.Builder>
- Throws:
java.io.IOException
-
hasName
public boolean hasName()Registered model unique name identifier.
optional string name = 1 [(.mlflow.validate_required) = true];
- Specified by:
hasName
in interfaceModelRegistry.GetLatestVersionsOrBuilder
-
getName
public java.lang.String getName()Registered model unique name identifier.
optional string name = 1 [(.mlflow.validate_required) = true];
- Specified by:
getName
in interfaceModelRegistry.GetLatestVersionsOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Registered model unique name identifier.
optional string name = 1 [(.mlflow.validate_required) = true];
- Specified by:
getNameBytes
in interfaceModelRegistry.GetLatestVersionsOrBuilder
-
setName
Registered model unique name identifier.
optional string name = 1 [(.mlflow.validate_required) = true];
-
clearName
Registered model unique name identifier.
optional string name = 1 [(.mlflow.validate_required) = true];
-
setNameBytes
Registered model unique name identifier.
optional string name = 1 [(.mlflow.validate_required) = true];
-
getStagesList
public com.google.protobuf.ProtocolStringList getStagesList()List of stages.
repeated string stages = 2;
- Specified by:
getStagesList
in interfaceModelRegistry.GetLatestVersionsOrBuilder
-
getStagesCount
public int getStagesCount()List of stages.
repeated string stages = 2;
- Specified by:
getStagesCount
in interfaceModelRegistry.GetLatestVersionsOrBuilder
-
getStages
public java.lang.String getStages(int index)List of stages.
repeated string stages = 2;
- Specified by:
getStages
in interfaceModelRegistry.GetLatestVersionsOrBuilder
-
getStagesBytes
public com.google.protobuf.ByteString getStagesBytes(int index)List of stages.
repeated string stages = 2;
- Specified by:
getStagesBytes
in interfaceModelRegistry.GetLatestVersionsOrBuilder
-
setStages
List of stages.
repeated string stages = 2;
-
addStages
List of stages.
repeated string stages = 2;
-
addAllStages
public ModelRegistry.GetLatestVersions.Builder addAllStages(java.lang.Iterable<java.lang.String> values)List of stages.
repeated string stages = 2;
-
clearStages
List of stages.
repeated string stages = 2;
-
addStagesBytes
public ModelRegistry.GetLatestVersions.Builder addStagesBytes(com.google.protobuf.ByteString value)List of stages.
repeated string stages = 2;
-
setUnknownFields
public final ModelRegistry.GetLatestVersions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.GetLatestVersions.Builder>
-
mergeUnknownFields
public final ModelRegistry.GetLatestVersions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.GetLatestVersions.Builder>
-