Class CheckTrialEarlyStoppingStateRequest.Builder (3.84.0)

public static final class CheckTrialEarlyStoppingStateRequest.Builder extends GeneratedMessage.Builder<CheckTrialEarlyStoppingStateRequest.Builder> implements CheckTrialEarlyStoppingStateRequestOrBuilder

Request message for VizierService.CheckTrialEarlyStoppingState.

Protobuf type google.cloud.aiplatform.v1.CheckTrialEarlyStoppingStateRequest

Static Methods

getDescriptor()

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

Methods

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

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.

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 GeneratedMessage.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

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.