Class NasTrial.Builder (3.13.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NasTrial.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NasTrial.Builder
Overrides

build()

public NasTrial build()
Returns
TypeDescription
NasTrial

buildPartial()

public NasTrial buildPartial()
Returns
TypeDescription
NasTrial

clear()

public NasTrial.Builder clear()
Returns
TypeDescription
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
TypeDescription
NasTrial.Builder

clearField(Descriptors.FieldDescriptor field)

public NasTrial.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
NasTrial.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NasTrial.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
NasTrial.Builder

This builder for chaining.

clone()

public NasTrial.Builder clone()
Returns
TypeDescription
NasTrial.Builder
Overrides

getDefaultInstanceForType()

public NasTrial getDefaultInstanceForType()
Returns
TypeDescription
NasTrial

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueMeasurement
Returns
TypeDescription
NasTrial.Builder

mergeFrom(NasTrial other)

public NasTrial.Builder mergeFrom(NasTrial other)
Parameter
NameDescription
otherNasTrial
Returns
TypeDescription
NasTrial.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NasTrial.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NasTrial.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NasTrial.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
NasTrial.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NasTrial.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
NasTrial.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public NasTrial.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueMeasurement
Returns
TypeDescription
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
NameDescription
builderForValueMeasurement.Builder
Returns
TypeDescription
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
NameDescription
valueString

The id to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueNasTrial.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
NasTrial.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final NasTrial.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NasTrial.Builder
Overrides