Class CheckTrialEarlyStoppingStateResponse.Builder (3.40.0)

public static final class CheckTrialEarlyStoppingStateResponse.Builder extends GeneratedMessageV3.Builder<CheckTrialEarlyStoppingStateResponse.Builder> implements CheckTrialEarlyStoppingStateResponseOrBuilder

Response message for VizierService.CheckTrialEarlyStoppingState.

Protobuf type google.cloud.aiplatform.v1.CheckTrialEarlyStoppingStateResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CheckTrialEarlyStoppingStateResponse build()
Returns
TypeDescription
CheckTrialEarlyStoppingStateResponse

buildPartial()

public CheckTrialEarlyStoppingStateResponse buildPartial()
Returns
TypeDescription
CheckTrialEarlyStoppingStateResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CheckTrialEarlyStoppingStateResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CheckTrialEarlyStoppingStateResponse.Builder
Overrides

clearShouldStop()

public CheckTrialEarlyStoppingStateResponse.Builder clearShouldStop()

True if the Trial should stop.

bool should_stop = 1;

Returns
TypeDescription
CheckTrialEarlyStoppingStateResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CheckTrialEarlyStoppingStateResponse getDefaultInstanceForType()
Returns
TypeDescription
CheckTrialEarlyStoppingStateResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getShouldStop()

public boolean getShouldStop()

True if the Trial should stop.

bool should_stop = 1;

Returns
TypeDescription
boolean

The shouldStop.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CheckTrialEarlyStoppingStateResponse other)

public CheckTrialEarlyStoppingStateResponse.Builder mergeFrom(CheckTrialEarlyStoppingStateResponse other)
Parameter
NameDescription
otherCheckTrialEarlyStoppingStateResponse
Returns
TypeDescription
CheckTrialEarlyStoppingStateResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public CheckTrialEarlyStoppingStateResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CheckTrialEarlyStoppingStateResponse.Builder
Overrides

setShouldStop(boolean value)

public CheckTrialEarlyStoppingStateResponse.Builder setShouldStop(boolean value)

True if the Trial should stop.

bool should_stop = 1;

Parameter
NameDescription
valueboolean

The shouldStop to set.

Returns
TypeDescription
CheckTrialEarlyStoppingStateResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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