Class NasTrial (3.46.0)

public final class NasTrial extends GeneratedMessageV3 implements NasTrialOrBuilder

Represents a uCAIP NasJob trial.

Protobuf type google.cloud.aiplatform.v1beta1.NasTrial

Implements

NasTrialOrBuilder

Static Fields

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

FINAL_MEASUREMENT_FIELD_NUMBER

public static final int FINAL_MEASUREMENT_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NasTrial getDefaultInstance()
Returns
Type Description
NasTrial

getDescriptor()

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

newBuilder()

public static NasTrial.Builder newBuilder()
Returns
Type Description
NasTrial.Builder

newBuilder(NasTrial prototype)

public static NasTrial.Builder newBuilder(NasTrial prototype)
Parameter
Name Description
prototype NasTrial
Returns
Type Description
NasTrial.Builder

parseDelimitedFrom(InputStream input)

public static NasTrial parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NasTrial
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NasTrial parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NasTrial
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NasTrial parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NasTrial
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NasTrial parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NasTrial
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NasTrial parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NasTrial
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NasTrial parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NasTrial
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NasTrial parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NasTrial
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NasTrial parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NasTrial
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NasTrial parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NasTrial
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NasTrial parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NasTrial
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NasTrial parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NasTrial
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NasTrial parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NasTrial
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<NasTrial> parser()
Returns
Type Description
Parser<NasTrial>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public NasTrial getDefaultInstanceForType()
Returns
Type Description
NasTrial

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.

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.

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.

getParserForType()

public Parser<NasTrial> getParserForType()
Returns
Type Description
Parser<NasTrial>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NasTrial.Builder newBuilderForType()
Returns
Type Description
NasTrial.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NasTrial.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NasTrial.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public NasTrial.Builder toBuilder()
Returns
Type Description
NasTrial.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException