public static final class AddTrialMeasurementRequest.Builder extends GeneratedMessageV3.Builder<AddTrialMeasurementRequest.Builder> implements AddTrialMeasurementRequestOrBuilder
Request message for VizierService.AddTrialMeasurement.
Protobuf type google.cloud.aiplatform.v1.AddTrialMeasurementRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public AddTrialMeasurementRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public AddTrialMeasurementRequest build()
Returns
public AddTrialMeasurementRequest buildPartial()
Returns
public AddTrialMeasurementRequest.Builder clear()
Returns
Overrides
public AddTrialMeasurementRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public AddTrialMeasurementRequest.Builder clearMeasurement()
Required. The measurement to be added to a Trial.
.google.cloud.aiplatform.v1.Measurement measurement = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public AddTrialMeasurementRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public AddTrialMeasurementRequest.Builder clearTrialName()
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 AddTrialMeasurementRequest.Builder clone()
Returns
Overrides
public AddTrialMeasurementRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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 Measurement.Builder getMeasurementBuilder()
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 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 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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public AddTrialMeasurementRequest.Builder mergeFrom(AddTrialMeasurementRequest other)
Parameter
Returns
public AddTrialMeasurementRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public AddTrialMeasurementRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public AddTrialMeasurementRequest.Builder mergeMeasurement(Measurement value)
Required. The measurement to be added to a Trial.
.google.cloud.aiplatform.v1.Measurement measurement = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public final AddTrialMeasurementRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public AddTrialMeasurementRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public AddTrialMeasurementRequest.Builder setMeasurement(Measurement value)
Required. The measurement to be added to a Trial.
.google.cloud.aiplatform.v1.Measurement measurement = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public AddTrialMeasurementRequest.Builder setMeasurement(Measurement.Builder builderForValue)
Required. The measurement to be added to a Trial.
.google.cloud.aiplatform.v1.Measurement measurement = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public AddTrialMeasurementRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public AddTrialMeasurementRequest.Builder setTrialName(String value)
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) = { ... }
Parameter
Name | Description |
value | String
The trialName to set.
|
Returns
public AddTrialMeasurementRequest.Builder setTrialNameBytes(ByteString value)
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) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for trialName to set.
|
Returns
public final AddTrialMeasurementRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides