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.v1beta1.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.v1beta1.NasTrial
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NasTrial.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NasTrial
build()
NasTrial
buildPartial()
NasTrial.Builder
clear()
NasTrial.Builder
clearEndTime()
Output only.NasTrial.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
NasTrial.Builder
clearFinalMeasurement()
Output only.NasTrial.Builder
clearId()
Output only.NasTrial.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
NasTrial.Builder
clearStartTime()
Output only.NasTrial.Builder
clearState()
Output only.NasTrial.Builder
clone()
NasTrial
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Timestamp
getEndTime()
Output only.com.google.protobuf.Timestamp.Builder
getEndTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
Output only.Measurement
getFinalMeasurement()
Output only.Measurement.Builder
getFinalMeasurementBuilder()
Output only.MeasurementOrBuilder
getFinalMeasurementOrBuilder()
Output only.String
getId()
Output only.com.google.protobuf.ByteString
getIdBytes()
Output only.com.google.protobuf.Timestamp
getStartTime()
Output only.com.google.protobuf.Timestamp.Builder
getStartTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
Output only.NasTrial.State
getState()
Output only.int
getStateValue()
Output only.boolean
hasEndTime()
Output only.boolean
hasFinalMeasurement()
Output only.boolean
hasStartTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
NasTrial.Builder
mergeEndTime(com.google.protobuf.Timestamp value)
Output only.NasTrial.Builder
mergeFinalMeasurement(Measurement value)
Output only.NasTrial.Builder
mergeFrom(NasTrial other)
NasTrial.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NasTrial.Builder
mergeFrom(com.google.protobuf.Message other)
NasTrial.Builder
mergeStartTime(com.google.protobuf.Timestamp value)
Output only.NasTrial.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NasTrial.Builder
setEndTime(com.google.protobuf.Timestamp value)
Output only.NasTrial.Builder
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.NasTrial.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NasTrial.Builder
setFinalMeasurement(Measurement value)
Output only.NasTrial.Builder
setFinalMeasurement(Measurement.Builder builderForValue)
Output only.NasTrial.Builder
setId(String value)
Output only.NasTrial.Builder
setIdBytes(com.google.protobuf.ByteString value)
Output only.NasTrial.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
NasTrial.Builder
setStartTime(com.google.protobuf.Timestamp value)
Output only.NasTrial.Builder
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.NasTrial.Builder
setState(NasTrial.State value)
Output only.NasTrial.Builder
setStateValue(int value)
Output only.NasTrial.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, 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<NasTrial.Builder>
-
clear
public NasTrial.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<NasTrial.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<NasTrial.Builder>
-
getDefaultInstanceForType
public NasTrial getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NasTrial build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NasTrial buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NasTrial.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<NasTrial.Builder>
-
setField
public NasTrial.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<NasTrial.Builder>
-
clearField
public NasTrial.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<NasTrial.Builder>
-
clearOneof
public NasTrial.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<NasTrial.Builder>
-
setRepeatedField
public NasTrial.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<NasTrial.Builder>
-
addRepeatedField
public NasTrial.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<NasTrial.Builder>
-
mergeFrom
public NasTrial.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NasTrial.Builder>
-
mergeFrom
public NasTrial.Builder mergeFrom(NasTrial other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getId
in 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:
getIdBytes
in 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.v1beta1.NasTrial.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in 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.v1beta1.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.v1beta1.NasTrial.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceNasTrialOrBuilder
- Returns:
- The state.
-
setState
public NasTrial.Builder setState(NasTrial.State value)
Output only. The detailed state of the NasTrial.
.google.cloud.aiplatform.v1beta1.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.v1beta1.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.v1beta1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasFinalMeasurement
in interfaceNasTrialOrBuilder
- Returns:
- Whether the finalMeasurement field is set.
-
getFinalMeasurement
public Measurement getFinalMeasurement()
Output only. The final measurement containing the objective value.
.google.cloud.aiplatform.v1beta1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getFinalMeasurement
in interfaceNasTrialOrBuilder
- Returns:
- The finalMeasurement.
-
setFinalMeasurement
public NasTrial.Builder setFinalMeasurement(Measurement value)
Output only. The final measurement containing the objective value.
.google.cloud.aiplatform.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getFinalMeasurementOrBuilder
in 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:
hasStartTime
in 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:
getStartTime
in 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:
getStartTimeOrBuilder
in 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:
hasEndTime
in 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:
getEndTime
in 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:
getEndTimeOrBuilder
in interfaceNasTrialOrBuilder
-
setUnknownFields
public final NasTrial.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NasTrial.Builder>
-
mergeUnknownFields
public final NasTrial.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NasTrial.Builder>
-
-