Package com.google.cloud.aiplatform.v1
Class NasTrial.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NasTrial.Builder>
-
- com.google.cloud.aiplatform.v1.NasTrial.Builder
-
- All Implemented Interfaces:
NasTrialOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NasTrial
public static final class NasTrial.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NasTrial.Builder> implements NasTrialOrBuilder
Represents a uCAIP NasJob trial.
Protobuf typegoogle.cloud.aiplatform.v1.NasTrial
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NasTrial.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NasTrialbuild()NasTrialbuildPartial()NasTrial.Builderclear()NasTrial.BuilderclearEndTime()Output only.NasTrial.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)NasTrial.BuilderclearFinalMeasurement()Output only.NasTrial.BuilderclearId()Output only.NasTrial.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)NasTrial.BuilderclearStartTime()Output only.NasTrial.BuilderclearState()Output only.NasTrial.Builderclone()NasTrialgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.TimestampgetEndTime()Output only.com.google.protobuf.Timestamp.BuildergetEndTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetEndTimeOrBuilder()Output only.MeasurementgetFinalMeasurement()Output only.Measurement.BuildergetFinalMeasurementBuilder()Output only.MeasurementOrBuildergetFinalMeasurementOrBuilder()Output only.StringgetId()Output only.com.google.protobuf.ByteStringgetIdBytes()Output only.com.google.protobuf.TimestampgetStartTime()Output only.com.google.protobuf.Timestamp.BuildergetStartTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()Output only.NasTrial.StategetState()Output only.intgetStateValue()Output only.booleanhasEndTime()Output only.booleanhasFinalMeasurement()Output only.booleanhasStartTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()NasTrial.BuildermergeEndTime(com.google.protobuf.Timestamp value)Output only.NasTrial.BuildermergeFinalMeasurement(Measurement value)Output only.NasTrial.BuildermergeFrom(NasTrial other)NasTrial.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)NasTrial.BuildermergeFrom(com.google.protobuf.Message other)NasTrial.BuildermergeStartTime(com.google.protobuf.Timestamp value)Output only.NasTrial.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NasTrial.BuildersetEndTime(com.google.protobuf.Timestamp value)Output only.NasTrial.BuildersetEndTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.NasTrial.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NasTrial.BuildersetFinalMeasurement(Measurement value)Output only.NasTrial.BuildersetFinalMeasurement(Measurement.Builder builderForValue)Output only.NasTrial.BuildersetId(String value)Output only.NasTrial.BuildersetIdBytes(com.google.protobuf.ByteString value)Output only.NasTrial.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)NasTrial.BuildersetStartTime(com.google.protobuf.Timestamp value)Output only.NasTrial.BuildersetStartTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.NasTrial.BuildersetState(NasTrial.State value)Output only.NasTrial.BuildersetStateValue(int value)Output only.NasTrial.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NasTrial.Builder>
-
clear
public NasTrial.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<NasTrial.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<NasTrial.Builder>
-
getDefaultInstanceForType
public NasTrial getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public NasTrial build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NasTrial buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NasTrial.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<NasTrial.Builder>
-
setField
public NasTrial.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NasTrial.Builder>
-
clearField
public NasTrial.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NasTrial.Builder>
-
clearOneof
public NasTrial.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NasTrial.Builder>
-
setRepeatedField
public NasTrial.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NasTrial.Builder>
-
addRepeatedField
public NasTrial.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NasTrial.Builder>
-
mergeFrom
public NasTrial.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NasTrial.Builder>
-
mergeFrom
public NasTrial.Builder mergeFrom(NasTrial other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<NasTrial.Builder>
-
mergeFrom
public NasTrial.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NasTrial.Builder>- Throws:
IOException
-
getId
public String getId()
Output only. The identifier of the NasTrial assigned by the service.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfaceNasTrialOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Output only. The identifier of the NasTrial assigned by the service.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdBytesin interfaceNasTrialOrBuilder- Returns:
- The bytes for id.
-
setId
public NasTrial.Builder setId(String value)
Output only. The identifier of the NasTrial assigned by the service.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public NasTrial.Builder clearId()
Output only. The identifier of the NasTrial assigned by the service.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setIdBytes
public NasTrial.Builder setIdBytes(com.google.protobuf.ByteString value)
Output only. The identifier of the NasTrial assigned by the service.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()
Output only. The detailed state of the NasTrial.
.google.cloud.aiplatform.v1.NasTrial.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceNasTrialOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public NasTrial.Builder setStateValue(int value)
Output only. The detailed state of the NasTrial.
.google.cloud.aiplatform.v1.NasTrial.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public NasTrial.State getState()
Output only. The detailed state of the NasTrial.
.google.cloud.aiplatform.v1.NasTrial.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceNasTrialOrBuilder- Returns:
- The state.
-
setState
public NasTrial.Builder setState(NasTrial.State value)
Output only. The detailed state of the NasTrial.
.google.cloud.aiplatform.v1.NasTrial.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public NasTrial.Builder clearState()
Output only. The detailed state of the NasTrial.
.google.cloud.aiplatform.v1.NasTrial.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasFinalMeasurement
public boolean hasFinalMeasurement()
Output only. The final measurement containing the objective value.
.google.cloud.aiplatform.v1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasFinalMeasurementin interfaceNasTrialOrBuilder- Returns:
- Whether the finalMeasurement field is set.
-
getFinalMeasurement
public Measurement getFinalMeasurement()
Output only. The final measurement containing the objective value.
.google.cloud.aiplatform.v1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFinalMeasurementin interfaceNasTrialOrBuilder- Returns:
- The finalMeasurement.
-
setFinalMeasurement
public NasTrial.Builder setFinalMeasurement(Measurement value)
Output only. The final measurement containing the objective value.
.google.cloud.aiplatform.v1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setFinalMeasurement
public NasTrial.Builder setFinalMeasurement(Measurement.Builder builderForValue)
Output only. The final measurement containing the objective value.
.google.cloud.aiplatform.v1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeFinalMeasurement
public NasTrial.Builder mergeFinalMeasurement(Measurement value)
Output only. The final measurement containing the objective value.
.google.cloud.aiplatform.v1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearFinalMeasurement
public NasTrial.Builder clearFinalMeasurement()
Output only. The final measurement containing the objective value.
.google.cloud.aiplatform.v1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getFinalMeasurementBuilder
public Measurement.Builder getFinalMeasurementBuilder()
Output only. The final measurement containing the objective value.
.google.cloud.aiplatform.v1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getFinalMeasurementOrBuilder
public MeasurementOrBuilder getFinalMeasurementOrBuilder()
Output only. The final measurement containing the objective value.
.google.cloud.aiplatform.v1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFinalMeasurementOrBuilderin interfaceNasTrialOrBuilder
-
hasStartTime
public boolean hasStartTime()
Output only. Time when the NasTrial was started.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStartTimein interfaceNasTrialOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()
Output only. Time when the NasTrial was started.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimein interfaceNasTrialOrBuilder- Returns:
- The startTime.
-
setStartTime
public NasTrial.Builder setStartTime(com.google.protobuf.Timestamp value)
Output only. Time when the NasTrial was started.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setStartTime
public NasTrial.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time when the NasTrial was started.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeStartTime
public NasTrial.Builder mergeStartTime(com.google.protobuf.Timestamp value)
Output only. Time when the NasTrial was started.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearStartTime
public NasTrial.Builder clearStartTime()
Output only. Time when the NasTrial was started.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
Output only. Time when the NasTrial was started.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Output only. Time when the NasTrial was started.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimeOrBuilderin interfaceNasTrialOrBuilder
-
hasEndTime
public boolean hasEndTime()
Output only. Time when the NasTrial's status changed to `SUCCEEDED` or `INFEASIBLE`.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasEndTimein interfaceNasTrialOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()
Output only. Time when the NasTrial's status changed to `SUCCEEDED` or `INFEASIBLE`.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndTimein interfaceNasTrialOrBuilder- Returns:
- The endTime.
-
setEndTime
public NasTrial.Builder setEndTime(com.google.protobuf.Timestamp value)
Output only. Time when the NasTrial's status changed to `SUCCEEDED` or `INFEASIBLE`.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setEndTime
public NasTrial.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time when the NasTrial's status changed to `SUCCEEDED` or `INFEASIBLE`.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeEndTime
public NasTrial.Builder mergeEndTime(com.google.protobuf.Timestamp value)
Output only. Time when the NasTrial's status changed to `SUCCEEDED` or `INFEASIBLE`.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearEndTime
public NasTrial.Builder clearEndTime()
Output only. Time when the NasTrial's status changed to `SUCCEEDED` or `INFEASIBLE`.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
Output only. Time when the NasTrial's status changed to `SUCCEEDED` or `INFEASIBLE`.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Output only. Time when the NasTrial's status changed to `SUCCEEDED` or `INFEASIBLE`.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndTimeOrBuilderin interfaceNasTrialOrBuilder
-
setUnknownFields
public final NasTrial.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NasTrial.Builder>
-
mergeUnknownFields
public final NasTrial.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NasTrial.Builder>
-
-