Class CheckTrialEarlyStoppingStateRequest.Builder (3.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CheckTrialEarlyStoppingStateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CheckTrialEarlyStoppingStateRequest.Builder
Overrides

build()

public CheckTrialEarlyStoppingStateRequest build()
Returns
TypeDescription
CheckTrialEarlyStoppingStateRequest

buildPartial()

public CheckTrialEarlyStoppingStateRequest buildPartial()
Returns
TypeDescription
CheckTrialEarlyStoppingStateRequest

clear()

public CheckTrialEarlyStoppingStateRequest.Builder clear()
Returns
TypeDescription
CheckTrialEarlyStoppingStateRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CheckTrialEarlyStoppingStateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CheckTrialEarlyStoppingStateRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CheckTrialEarlyStoppingStateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CheckTrialEarlyStoppingStateRequest.Builder

This builder for chaining.

clone()

public CheckTrialEarlyStoppingStateRequest.Builder clone()
Returns
TypeDescription
CheckTrialEarlyStoppingStateRequest.Builder
Overrides

getDefaultInstanceForType()

public CheckTrialEarlyStoppingStateRequest getDefaultInstanceForType()
Returns
TypeDescription
CheckTrialEarlyStoppingStateRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for trialName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CheckTrialEarlyStoppingStateRequest other)

public CheckTrialEarlyStoppingStateRequest.Builder mergeFrom(CheckTrialEarlyStoppingStateRequest other)
Parameter
NameDescription
otherCheckTrialEarlyStoppingStateRequest
Returns
TypeDescription
CheckTrialEarlyStoppingStateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CheckTrialEarlyStoppingStateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckTrialEarlyStoppingStateRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CheckTrialEarlyStoppingStateRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CheckTrialEarlyStoppingStateRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CheckTrialEarlyStoppingStateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CheckTrialEarlyStoppingStateRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CheckTrialEarlyStoppingStateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CheckTrialEarlyStoppingStateRequest.Builder
Overrides

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

public CheckTrialEarlyStoppingStateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The trialName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for trialName to set.

Returns
TypeDescription
CheckTrialEarlyStoppingStateRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CheckTrialEarlyStoppingStateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CheckTrialEarlyStoppingStateRequest.Builder
Overrides