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 typemlflow.GetLatestVersions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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 Detail
-
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
public 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
public ModelRegistry.GetLatestVersions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ModelRegistry.GetLatestVersions build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ModelRegistry.GetLatestVersions buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ModelRegistry.GetLatestVersions.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
public ModelRegistry.GetLatestVersions.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModelRegistry.GetLatestVersions.Builder>
-
mergeFrom
public ModelRegistry.GetLatestVersions.Builder mergeFrom(ModelRegistry.GetLatestVersions other)
-
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
- Returns:
- Whether the name field is set.
-
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
- 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
public ModelRegistry.GetLatestVersions.Builder setName(java.lang.String value)
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
public ModelRegistry.GetLatestVersions.Builder clearName()
Registered model unique name identifier.
optional string name = 1 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setNameBytes
public ModelRegistry.GetLatestVersions.Builder setNameBytes(com.google.protobuf.ByteString value)
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
public java.lang.String getStages(int index)
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
public ModelRegistry.GetLatestVersions.Builder setStages(int index, java.lang.String value)
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
public ModelRegistry.GetLatestVersions.Builder addStages(java.lang.String value)
List of stages.
repeated string stages = 2;
- Parameters:
value
- The stages to add.- Returns:
- This builder for chaining.
-
addAllStages
public ModelRegistry.GetLatestVersions.Builder addAllStages(java.lang.Iterable<java.lang.String> values)
List of stages.
repeated string stages = 2;
- Parameters:
values
- The stages to add.- Returns:
- This builder for chaining.
-
clearStages
public ModelRegistry.GetLatestVersions.Builder clearStages()
List of stages.
repeated string stages = 2;
- Returns:
- This builder for chaining.
-
addStagesBytes
public ModelRegistry.GetLatestVersions.Builder addStagesBytes(com.google.protobuf.ByteString value)
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>
-
-