Package org.mlflow.api.proto
Class Service.UpdateExperiment.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateExperiment.Builder>
-
- org.mlflow.api.proto.Service.UpdateExperiment.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
,Service.UpdateExperimentOrBuilder
- Enclosing class:
- Service.UpdateExperiment
public static final class Service.UpdateExperiment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateExperiment.Builder> implements Service.UpdateExperimentOrBuilder
Protobuf typemlflow.UpdateExperiment
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Service.UpdateExperiment.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.UpdateExperiment
build()
Service.UpdateExperiment
buildPartial()
Service.UpdateExperiment.Builder
clear()
Service.UpdateExperiment.Builder
clearExperimentId()
ID of the associated experiment.Service.UpdateExperiment.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Service.UpdateExperiment.Builder
clearNewName()
If provided, the experiment's name is changed to the new name.Service.UpdateExperiment.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Service.UpdateExperiment.Builder
clone()
Service.UpdateExperiment
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getExperimentId()
ID of the associated experiment.com.google.protobuf.ByteString
getExperimentIdBytes()
ID of the associated experiment.java.lang.String
getNewName()
If provided, the experiment's name is changed to the new name.com.google.protobuf.ByteString
getNewNameBytes()
If provided, the experiment's name is changed to the new name.boolean
hasExperimentId()
ID of the associated experiment.boolean
hasNewName()
If provided, the experiment's name is changed to the new name.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Service.UpdateExperiment.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Service.UpdateExperiment.Builder
mergeFrom(com.google.protobuf.Message other)
Service.UpdateExperiment.Builder
mergeFrom(Service.UpdateExperiment other)
Service.UpdateExperiment.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Service.UpdateExperiment.Builder
setExperimentId(java.lang.String value)
ID of the associated experiment.Service.UpdateExperiment.Builder
setExperimentIdBytes(com.google.protobuf.ByteString value)
ID of the associated experiment.Service.UpdateExperiment.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.UpdateExperiment.Builder
setNewName(java.lang.String value)
If provided, the experiment's name is changed to the new name.Service.UpdateExperiment.Builder
setNewNameBytes(com.google.protobuf.ByteString value)
If provided, the experiment's name is changed to the new name.Service.UpdateExperiment.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Service.UpdateExperiment.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<Service.UpdateExperiment.Builder>
-
clear
public Service.UpdateExperiment.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<Service.UpdateExperiment.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<Service.UpdateExperiment.Builder>
-
getDefaultInstanceForType
public Service.UpdateExperiment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Service.UpdateExperiment build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Service.UpdateExperiment buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Service.UpdateExperiment.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<Service.UpdateExperiment.Builder>
-
setField
public Service.UpdateExperiment.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<Service.UpdateExperiment.Builder>
-
clearField
public Service.UpdateExperiment.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<Service.UpdateExperiment.Builder>
-
clearOneof
public Service.UpdateExperiment.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<Service.UpdateExperiment.Builder>
-
setRepeatedField
public Service.UpdateExperiment.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<Service.UpdateExperiment.Builder>
-
addRepeatedField
public Service.UpdateExperiment.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<Service.UpdateExperiment.Builder>
-
mergeFrom
public Service.UpdateExperiment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.UpdateExperiment.Builder>
-
mergeFrom
public Service.UpdateExperiment.Builder mergeFrom(Service.UpdateExperiment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateExperiment.Builder>
-
mergeFrom
public Service.UpdateExperiment.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<Service.UpdateExperiment.Builder>
- Throws:
java.io.IOException
-
hasExperimentId
public boolean hasExperimentId()
ID of the associated experiment.
optional string experiment_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
hasExperimentId
in interfaceService.UpdateExperimentOrBuilder
- Returns:
- Whether the experimentId field is set.
-
getExperimentId
public java.lang.String getExperimentId()
ID of the associated experiment.
optional string experiment_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
getExperimentId
in interfaceService.UpdateExperimentOrBuilder
- Returns:
- The experimentId.
-
getExperimentIdBytes
public com.google.protobuf.ByteString getExperimentIdBytes()
ID of the associated experiment.
optional string experiment_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
getExperimentIdBytes
in interfaceService.UpdateExperimentOrBuilder
- Returns:
- The bytes for experimentId.
-
setExperimentId
public Service.UpdateExperiment.Builder setExperimentId(java.lang.String value)
ID of the associated experiment.
optional string experiment_id = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The experimentId to set.- Returns:
- This builder for chaining.
-
clearExperimentId
public Service.UpdateExperiment.Builder clearExperimentId()
ID of the associated experiment.
optional string experiment_id = 1 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setExperimentIdBytes
public Service.UpdateExperiment.Builder setExperimentIdBytes(com.google.protobuf.ByteString value)
ID of the associated experiment.
optional string experiment_id = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The bytes for experimentId to set.- Returns:
- This builder for chaining.
-
hasNewName
public boolean hasNewName()
If provided, the experiment's name is changed to the new name. The new name must be unique.
optional string new_name = 2;
- Specified by:
hasNewName
in interfaceService.UpdateExperimentOrBuilder
- Returns:
- Whether the newName field is set.
-
getNewName
public java.lang.String getNewName()
If provided, the experiment's name is changed to the new name. The new name must be unique.
optional string new_name = 2;
- Specified by:
getNewName
in interfaceService.UpdateExperimentOrBuilder
- Returns:
- The newName.
-
getNewNameBytes
public com.google.protobuf.ByteString getNewNameBytes()
If provided, the experiment's name is changed to the new name. The new name must be unique.
optional string new_name = 2;
- Specified by:
getNewNameBytes
in interfaceService.UpdateExperimentOrBuilder
- Returns:
- The bytes for newName.
-
setNewName
public Service.UpdateExperiment.Builder setNewName(java.lang.String value)
If provided, the experiment's name is changed to the new name. The new name must be unique.
optional string new_name = 2;
- Parameters:
value
- The newName to set.- Returns:
- This builder for chaining.
-
clearNewName
public Service.UpdateExperiment.Builder clearNewName()
If provided, the experiment's name is changed to the new name. The new name must be unique.
optional string new_name = 2;
- Returns:
- This builder for chaining.
-
setNewNameBytes
public Service.UpdateExperiment.Builder setNewNameBytes(com.google.protobuf.ByteString value)
If provided, the experiment's name is changed to the new name. The new name must be unique.
optional string new_name = 2;
- Parameters:
value
- The bytes for newName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Service.UpdateExperiment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateExperiment.Builder>
-
mergeUnknownFields
public final Service.UpdateExperiment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateExperiment.Builder>
-
-