Class NasTrial.Builder (3.42.0)

public static final class NasTrial.Builder extends GeneratedMessageV3.Builder<NasTrial.Builder> implements NasTrialOrBuilder

Represents a uCAIP NasJob trial.

Protobuf type google.cloud.aiplatform.v1beta1.NasTrial

Implements

NasTrialOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NasTrial.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NasTrial.Builder
Overrides

build()

public NasTrial build()
Returns
Type Description
NasTrial

buildPartial()

public NasTrial buildPartial()
Returns
Type Description
NasTrial

clear()

public NasTrial.Builder clear()
Returns
Type Description
NasTrial.Builder
Overrides

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];

Returns
Type Description
NasTrial.Builder

clearField(Descriptors.FieldDescriptor field)

public NasTrial.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NasTrial.Builder
Overrides

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];

Returns
Type Description
NasTrial.Builder

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
Type Description
NasTrial.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NasTrial.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NasTrial.Builder
Overrides

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];

Returns
Type Description
NasTrial.Builder

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
Type Description
NasTrial.Builder

This builder for chaining.

clone()

public NasTrial.Builder clone()
Returns
Type Description
NasTrial.Builder
Overrides

getDefaultInstanceForType()

public NasTrial getDefaultInstanceForType()
Returns
Type Description
NasTrial

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndTime()

public 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];

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public 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];

Returns
Type Description
Builder

getEndTimeOrBuilder()

public 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];

Returns
Type Description
TimestampOrBuilder

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];

Returns
Type Description
Measurement

The finalMeasurement.

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];

Returns
Type Description
Measurement.Builder

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];

Returns
Type Description
MeasurementOrBuilder

getId()

public String getId()

Output only. The identifier of the NasTrial assigned by the service.

string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Output only. The identifier of the NasTrial assigned by the service.

string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for id.

getStartTime()

public Timestamp getStartTime()

Output only. Time when the NasTrial was started.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Output only. Time when the NasTrial was started.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. Time when the NasTrial was started.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

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];

Returns
Type Description
NasTrial.State

The state.

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];

Returns
Type Description
int

The enum numeric value on the wire for state.

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];

Returns
Type Description
boolean

Whether the endTime field is set.

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];

Returns
Type Description
boolean

Whether the finalMeasurement field is set.

hasStartTime()

public boolean hasStartTime()

Output only. Time when the NasTrial was started.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public NasTrial.Builder mergeEndTime(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];

Parameter
Name Description
value Timestamp
Returns
Type Description
NasTrial.Builder

mergeFinalMeasurement(Measurement value)

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];

Parameter
Name Description
value Measurement
Returns
Type Description
NasTrial.Builder

mergeFrom(NasTrial other)

public NasTrial.Builder mergeFrom(NasTrial other)
Parameter
Name Description
other NasTrial
Returns
Type Description
NasTrial.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NasTrial.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NasTrial.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NasTrial.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NasTrial.Builder
Overrides

mergeStartTime(Timestamp value)

public NasTrial.Builder mergeStartTime(Timestamp value)

Output only. Time when the NasTrial was started.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
NasTrial.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NasTrial.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NasTrial.Builder
Overrides

setEndTime(Timestamp value)

public NasTrial.Builder setEndTime(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];

Parameter
Name Description
value Timestamp
Returns
Type Description
NasTrial.Builder

setEndTime(Timestamp.Builder builderForValue)

public NasTrial.Builder setEndTime(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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
NasTrial.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public NasTrial.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NasTrial.Builder
Overrides

setFinalMeasurement(Measurement value)

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];

Parameter
Name Description
value Measurement
Returns
Type Description
NasTrial.Builder

setFinalMeasurement(Measurement.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Measurement.Builder
Returns
Type Description
NasTrial.Builder

setId(String value)

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];

Parameter
Name Description
value String

The id to set.

Returns
Type Description
NasTrial.Builder

This builder for chaining.

setIdBytes(ByteString value)

public NasTrial.Builder setIdBytes(ByteString value)

Output only. The identifier of the NasTrial assigned by the service.

string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
NasTrial.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NasTrial.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NasTrial.Builder
Overrides

setStartTime(Timestamp value)

public NasTrial.Builder setStartTime(Timestamp value)

Output only. Time when the NasTrial was started.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
NasTrial.Builder

setStartTime(Timestamp.Builder builderForValue)

public NasTrial.Builder setStartTime(Timestamp.Builder builderForValue)

Output only. Time when the NasTrial was started.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
NasTrial.Builder

setState(NasTrial.State value)

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];

Parameter
Name Description
value NasTrial.State

The state to set.

Returns
Type Description
NasTrial.Builder

This builder for chaining.

setStateValue(int value)

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];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
NasTrial.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final NasTrial.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NasTrial.Builder
Overrides