Class CheckTrialEarlyStoppingStateMetatdata.Builder (3.49.0)

public static final class CheckTrialEarlyStoppingStateMetatdata.Builder extends GeneratedMessageV3.Builder<CheckTrialEarlyStoppingStateMetatdata.Builder> implements CheckTrialEarlyStoppingStateMetatdataOrBuilder

This message will be placed in the metadata field of a google.longrunning.Operation associated with a CheckTrialEarlyStoppingState request.

Protobuf type google.cloud.aiplatform.v1beta1.CheckTrialEarlyStoppingStateMetatdata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CheckTrialEarlyStoppingStateMetatdata build()
Returns
Type Description
CheckTrialEarlyStoppingStateMetatdata

buildPartial()

public CheckTrialEarlyStoppingStateMetatdata buildPartial()
Returns
Type Description
CheckTrialEarlyStoppingStateMetatdata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGenericMetadata()

public CheckTrialEarlyStoppingStateMetatdata.Builder clearGenericMetadata()

Operation metadata for suggesting Trials.

.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;

Returns
Type Description
CheckTrialEarlyStoppingStateMetatdata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStudy()

public CheckTrialEarlyStoppingStateMetatdata.Builder clearStudy()

The name of the Study that the Trial belongs to.

string study = 2;

Returns
Type Description
CheckTrialEarlyStoppingStateMetatdata.Builder

This builder for chaining.

clearTrial()

public CheckTrialEarlyStoppingStateMetatdata.Builder clearTrial()

The Trial name.

string trial = 3;

Returns
Type Description
CheckTrialEarlyStoppingStateMetatdata.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CheckTrialEarlyStoppingStateMetatdata getDefaultInstanceForType()
Returns
Type Description
CheckTrialEarlyStoppingStateMetatdata

getDescriptorForType()

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

getGenericMetadata()

public GenericOperationMetadata getGenericMetadata()

Operation metadata for suggesting Trials.

.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;

Returns
Type Description
GenericOperationMetadata

The genericMetadata.

getGenericMetadataBuilder()

public GenericOperationMetadata.Builder getGenericMetadataBuilder()

Operation metadata for suggesting Trials.

.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;

Returns
Type Description
GenericOperationMetadata.Builder

getGenericMetadataOrBuilder()

public GenericOperationMetadataOrBuilder getGenericMetadataOrBuilder()

Operation metadata for suggesting Trials.

.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;

Returns
Type Description
GenericOperationMetadataOrBuilder

getStudy()

public String getStudy()

The name of the Study that the Trial belongs to.

string study = 2;

Returns
Type Description
String

The study.

getStudyBytes()

public ByteString getStudyBytes()

The name of the Study that the Trial belongs to.

string study = 2;

Returns
Type Description
ByteString

The bytes for study.

getTrial()

public String getTrial()

The Trial name.

string trial = 3;

Returns
Type Description
String

The trial.

getTrialBytes()

public ByteString getTrialBytes()

The Trial name.

string trial = 3;

Returns
Type Description
ByteString

The bytes for trial.

hasGenericMetadata()

public boolean hasGenericMetadata()

Operation metadata for suggesting Trials.

.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;

Returns
Type Description
boolean

Whether the genericMetadata field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CheckTrialEarlyStoppingStateMetatdata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGenericMetadata(GenericOperationMetadata value)

public CheckTrialEarlyStoppingStateMetatdata.Builder mergeGenericMetadata(GenericOperationMetadata value)

Operation metadata for suggesting Trials.

.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;

Parameter
Name Description
value GenericOperationMetadata
Returns
Type Description
CheckTrialEarlyStoppingStateMetatdata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGenericMetadata(GenericOperationMetadata value)

public CheckTrialEarlyStoppingStateMetatdata.Builder setGenericMetadata(GenericOperationMetadata value)

Operation metadata for suggesting Trials.

.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;

Parameter
Name Description
value GenericOperationMetadata
Returns
Type Description
CheckTrialEarlyStoppingStateMetatdata.Builder

setGenericMetadata(GenericOperationMetadata.Builder builderForValue)

public CheckTrialEarlyStoppingStateMetatdata.Builder setGenericMetadata(GenericOperationMetadata.Builder builderForValue)

Operation metadata for suggesting Trials.

.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;

Parameter
Name Description
builderForValue GenericOperationMetadata.Builder
Returns
Type Description
CheckTrialEarlyStoppingStateMetatdata.Builder

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

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

setStudy(String value)

public CheckTrialEarlyStoppingStateMetatdata.Builder setStudy(String value)

The name of the Study that the Trial belongs to.

string study = 2;

Parameter
Name Description
value String

The study to set.

Returns
Type Description
CheckTrialEarlyStoppingStateMetatdata.Builder

This builder for chaining.

setStudyBytes(ByteString value)

public CheckTrialEarlyStoppingStateMetatdata.Builder setStudyBytes(ByteString value)

The name of the Study that the Trial belongs to.

string study = 2;

Parameter
Name Description
value ByteString

The bytes for study to set.

Returns
Type Description
CheckTrialEarlyStoppingStateMetatdata.Builder

This builder for chaining.

setTrial(String value)

public CheckTrialEarlyStoppingStateMetatdata.Builder setTrial(String value)

The Trial name.

string trial = 3;

Parameter
Name Description
value String

The trial to set.

Returns
Type Description
CheckTrialEarlyStoppingStateMetatdata.Builder

This builder for chaining.

setTrialBytes(ByteString value)

public CheckTrialEarlyStoppingStateMetatdata.Builder setTrialBytes(ByteString value)

The Trial name.

string trial = 3;

Parameter
Name Description
value ByteString

The bytes for trial to set.

Returns
Type Description
CheckTrialEarlyStoppingStateMetatdata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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