Class AddTrialMeasurementRequest (3.48.0)

public final class AddTrialMeasurementRequest extends GeneratedMessageV3 implements AddTrialMeasurementRequestOrBuilder

Request message for VizierService.AddTrialMeasurement.

Protobuf type google.cloud.aiplatform.v1.AddTrialMeasurementRequest

Static Fields

MEASUREMENT_FIELD_NUMBER

public static final int MEASUREMENT_FIELD_NUMBER
Field Value
Type Description
int

TRIAL_NAME_FIELD_NUMBER

public static final int TRIAL_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AddTrialMeasurementRequest getDefaultInstance()
Returns
Type Description
AddTrialMeasurementRequest

getDescriptor()

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

newBuilder()

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

newBuilder(AddTrialMeasurementRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AddTrialMeasurementRequest getDefaultInstanceForType()
Returns
Type Description
AddTrialMeasurementRequest

getMeasurement()

public Measurement getMeasurement()

Required. The measurement to be added to a Trial.

.google.cloud.aiplatform.v1.Measurement measurement = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Measurement

The measurement.

getMeasurementOrBuilder()

public MeasurementOrBuilder getMeasurementOrBuilder()

Required. The measurement to be added to a Trial.

.google.cloud.aiplatform.v1.Measurement measurement = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MeasurementOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTrialName()

public String getTrialName()

Required. The name of the trial to add measurement. Format: projects/{project}/locations/{location}/studies/{study}/trials/{trial}

string trial_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The trialName.

getTrialNameBytes()

public ByteString getTrialNameBytes()

Required. The name of the trial to add measurement. Format: projects/{project}/locations/{location}/studies/{study}/trials/{trial}

string trial_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for trialName.

hasMeasurement()

public boolean hasMeasurement()

Required. The measurement to be added to a Trial.

.google.cloud.aiplatform.v1.Measurement measurement = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the measurement 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 AddTrialMeasurementRequest.Builder newBuilderForType()
Returns
Type Description
AddTrialMeasurementRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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