Class CheckTrialEarlyStoppingStateRequest.Builder (3.43.0)

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

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CheckTrialEarlyStoppingStateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CheckTrialEarlyStoppingStateRequest.Builder
Overrides

build()

public CheckTrialEarlyStoppingStateRequest build()
Returns
Type Description
CheckTrialEarlyStoppingStateRequest

buildPartial()

public CheckTrialEarlyStoppingStateRequest buildPartial()
Returns
Type Description
CheckTrialEarlyStoppingStateRequest

clear()

public CheckTrialEarlyStoppingStateRequest.Builder clear()
Returns
Type Description
CheckTrialEarlyStoppingStateRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CheckTrialEarlyStoppingStateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CheckTrialEarlyStoppingStateRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CheckTrialEarlyStoppingStateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CheckTrialEarlyStoppingStateRequest.Builder
Overrides

clearTrialName()

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
Type Description
CheckTrialEarlyStoppingStateRequest.Builder

This builder for chaining.

clone()

public CheckTrialEarlyStoppingStateRequest.Builder clone()
Returns
Type Description
CheckTrialEarlyStoppingStateRequest.Builder
Overrides

getDefaultInstanceForType()

public CheckTrialEarlyStoppingStateRequest getDefaultInstanceForType()
Returns
Type Description
CheckTrialEarlyStoppingStateRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTrialName()

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.

getTrialNameBytes()

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
Type Description
ByteString

The bytes for trialName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CheckTrialEarlyStoppingStateRequest other)

public CheckTrialEarlyStoppingStateRequest.Builder mergeFrom(CheckTrialEarlyStoppingStateRequest other)
Parameter
Name Description
other CheckTrialEarlyStoppingStateRequest
Returns
Type Description
CheckTrialEarlyStoppingStateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CheckTrialEarlyStoppingStateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckTrialEarlyStoppingStateRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CheckTrialEarlyStoppingStateRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CheckTrialEarlyStoppingStateRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CheckTrialEarlyStoppingStateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CheckTrialEarlyStoppingStateRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CheckTrialEarlyStoppingStateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CheckTrialEarlyStoppingStateRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CheckTrialEarlyStoppingStateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CheckTrialEarlyStoppingStateRequest.Builder
Overrides

setTrialName(String value)

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
Type Description
CheckTrialEarlyStoppingStateRequest.Builder

This builder for chaining.

setTrialNameBytes(ByteString value)

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
Type Description
CheckTrialEarlyStoppingStateRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CheckTrialEarlyStoppingStateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CheckTrialEarlyStoppingStateRequest.Builder
Overrides