Package org.mlflow.api.proto
Class ModelRegistry.GetLatestVersions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ModelRegistry.GetLatestVersions.Builder>
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
,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 TypeMethodDescriptionaddAllStages
(Iterable<String> values) List of stages.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) List of stages.addStagesBytes
(com.google.protobuf.ByteString value) List of stages.build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Registered model unique name identifier.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) List of stages.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getName()
Registered model unique name identifier.com.google.protobuf.ByteString
Registered model unique name identifier.getStages
(int index) List of stages.com.google.protobuf.ByteString
getStagesBytes
(int index) List of stages.int
List of stages.com.google.protobuf.ProtocolStringList
List of stages.boolean
hasName()
Registered model unique name identifier.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Registered model unique name identifier.setNameBytes
(com.google.protobuf.ByteString value) Registered model unique name identifier.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) List of stages.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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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, 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, 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, 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 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:
IOException
-
hasName
public boolean hasName()Registered model unique name identifier.
optional string name = 1 [(.mlflow.validate_required) = true];
- Specified by:
hasName
in interfaceModelRegistry.GetLatestVersionsOrBuilder
- Returns:
- Whether the name field is set.
-
getName
Registered model unique name identifier.
optional string name = 1 [(.mlflow.validate_required) = true];
- Specified by:
getName
in interfaceModelRegistry.GetLatestVersionsOrBuilder
- Returns:
- The name.
-
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
- Returns:
- The bytes for name.
-
setName
Registered model unique name identifier.
optional string name = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
Registered model unique name identifier.
optional string name = 1 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setNameBytes
Registered model unique name identifier.
optional string name = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getStagesList
public com.google.protobuf.ProtocolStringList getStagesList()List of stages.
repeated string stages = 2;
- Specified by:
getStagesList
in interfaceModelRegistry.GetLatestVersionsOrBuilder
- Returns:
- A list containing the stages.
-
getStagesCount
public int getStagesCount()List of stages.
repeated string stages = 2;
- Specified by:
getStagesCount
in interfaceModelRegistry.GetLatestVersionsOrBuilder
- Returns:
- The count of stages.
-
getStages
List of stages.
repeated string stages = 2;
- Specified by:
getStages
in interfaceModelRegistry.GetLatestVersionsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The stages at the given index.
-
getStagesBytes
public com.google.protobuf.ByteString getStagesBytes(int index) List of stages.
repeated string stages = 2;
- Specified by:
getStagesBytes
in interfaceModelRegistry.GetLatestVersionsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the stages at the given index.
-
setStages
List of stages.
repeated string stages = 2;
- Parameters:
index
- The index to set the value at.value
- The stages to set.- Returns:
- This builder for chaining.
-
addStages
List of stages.
repeated string stages = 2;
- Parameters:
value
- The stages to add.- Returns:
- This builder for chaining.
-
addAllStages
List of stages.
repeated string stages = 2;
- Parameters:
values
- The stages to add.- Returns:
- This builder for chaining.
-
clearStages
List of stages.
repeated string stages = 2;
- Returns:
- This builder for chaining.
-
addStagesBytes
List of stages.
repeated string stages = 2;
- Parameters:
value
- The bytes of the stages to add.- Returns:
- This builder for chaining.
-
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>
-