public final class AddTrialMeasurementRequest extends GeneratedMessageV3 implements AddTrialMeasurementRequestOrBuilder
Request message for VizierService.AddTrialMeasurement.
Protobuf type google.cloud.aiplatform.v1.AddTrialMeasurementRequest
Fields
public static final int MEASUREMENT_FIELD_NUMBER
Field Value
public static final int TRIAL_NAME_FIELD_NUMBER
Field Value
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public static AddTrialMeasurementRequest getDefaultInstance()
Returns
public AddTrialMeasurementRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
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
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
public Parser<AddTrialMeasurementRequest> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
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.
|
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
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public static AddTrialMeasurementRequest.Builder newBuilder()
Returns
public static AddTrialMeasurementRequest.Builder newBuilder(AddTrialMeasurementRequest prototype)
Parameter
Returns
public AddTrialMeasurementRequest.Builder newBuilderForType()
Returns
protected AddTrialMeasurementRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static AddTrialMeasurementRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AddTrialMeasurementRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AddTrialMeasurementRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static AddTrialMeasurementRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AddTrialMeasurementRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static AddTrialMeasurementRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AddTrialMeasurementRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AddTrialMeasurementRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AddTrialMeasurementRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AddTrialMeasurementRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AddTrialMeasurementRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static AddTrialMeasurementRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<AddTrialMeasurementRequest> parser()
Returns
public AddTrialMeasurementRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions