public static final class CheckTrialEarlyStoppingStateRequest.Builder extends GeneratedMessageV3.Builder<CheckTrialEarlyStoppingStateRequest.Builder> implements CheckTrialEarlyStoppingStateRequestOrBuilder
Request message for VizierService.CheckTrialEarlyStoppingState.
Protobuf type google.cloud.aiplatform.v1beta1.CheckTrialEarlyStoppingStateRequest
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public CheckTrialEarlyStoppingStateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CheckTrialEarlyStoppingStateRequest build()
Returns
public CheckTrialEarlyStoppingStateRequest buildPartial()
Returns
public CheckTrialEarlyStoppingStateRequest.Builder clear()
Returns
Overrides
public CheckTrialEarlyStoppingStateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CheckTrialEarlyStoppingStateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public CheckTrialEarlyStoppingStateRequest.Builder clearTrialName()
Required. The Trial's name.
Format:
projects/{project}/locations/{location}/studies/{study}/trials/{trial}
string trial_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public CheckTrialEarlyStoppingStateRequest.Builder clone()
Returns
Overrides
public CheckTrialEarlyStoppingStateRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getTrialName()
Required. The Trial's name.
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 Trial's name.
Format:
projects/{project}/locations/{location}/studies/{study}/trials/{trial}
string trial_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CheckTrialEarlyStoppingStateRequest.Builder mergeFrom(CheckTrialEarlyStoppingStateRequest other)
Parameter
Returns
public CheckTrialEarlyStoppingStateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CheckTrialEarlyStoppingStateRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final CheckTrialEarlyStoppingStateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CheckTrialEarlyStoppingStateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CheckTrialEarlyStoppingStateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public CheckTrialEarlyStoppingStateRequest.Builder setTrialName(String value)
Required. The Trial's name.
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 CheckTrialEarlyStoppingStateRequest.Builder setTrialNameBytes(ByteString value)
Required. The Trial's name.
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 CheckTrialEarlyStoppingStateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides