Class AddTrialMeasurementRequest (3.4.2)

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
TypeDescription
int

TRIAL_NAME_FIELD_NUMBER

public static final int TRIAL_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AddTrialMeasurementRequest getDefaultInstance()
Returns
TypeDescription
AddTrialMeasurementRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AddTrialMeasurementRequest.Builder newBuilder()
Returns
TypeDescription
AddTrialMeasurementRequest.Builder

newBuilder(AddTrialMeasurementRequest prototype)

public static AddTrialMeasurementRequest.Builder newBuilder(AddTrialMeasurementRequest prototype)
Parameter
NameDescription
prototypeAddTrialMeasurementRequest
Returns
TypeDescription
AddTrialMeasurementRequest.Builder

parseDelimitedFrom(InputStream input)

public static AddTrialMeasurementRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AddTrialMeasurementRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AddTrialMeasurementRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AddTrialMeasurementRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AddTrialMeasurementRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AddTrialMeasurementRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AddTrialMeasurementRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AddTrialMeasurementRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AddTrialMeasurementRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AddTrialMeasurementRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AddTrialMeasurementRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AddTrialMeasurementRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AddTrialMeasurementRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AddTrialMeasurementRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AddTrialMeasurementRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AddTrialMeasurementRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AddTrialMeasurementRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AddTrialMeasurementRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AddTrialMeasurementRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AddTrialMeasurementRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AddTrialMeasurementRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AddTrialMeasurementRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AddTrialMeasurementRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AddTrialMeasurementRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AddTrialMeasurementRequest> parser()
Returns
TypeDescription
Parser<AddTrialMeasurementRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AddTrialMeasurementRequest getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
MeasurementOrBuilder

getParserForType()

public Parser<AddTrialMeasurementRequest> getParserForType()
Returns
TypeDescription
Parser<AddTrialMeasurementRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for trialName.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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
TypeDescription
boolean

Whether the measurement field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AddTrialMeasurementRequest.Builder newBuilderForType()
Returns
TypeDescription
AddTrialMeasurementRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AddTrialMeasurementRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AddTrialMeasurementRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AddTrialMeasurementRequest.Builder toBuilder()
Returns
TypeDescription
AddTrialMeasurementRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException