Class CheckTrialEarlyStoppingStateMetatdata.Builder (3.5.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.v1.CheckTrialEarlyStoppingStateMetatdata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CheckTrialEarlyStoppingStateMetatdata build()
Returns
TypeDescription
CheckTrialEarlyStoppingStateMetatdata

buildPartial()

public CheckTrialEarlyStoppingStateMetatdata buildPartial()
Returns
TypeDescription
CheckTrialEarlyStoppingStateMetatdata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGenericMetadata()

public CheckTrialEarlyStoppingStateMetatdata.Builder clearGenericMetadata()

Operation metadata for suggesting Trials.

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

Returns
TypeDescription
CheckTrialEarlyStoppingStateMetatdata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStudy()

public CheckTrialEarlyStoppingStateMetatdata.Builder clearStudy()

The name of the Study that the Trial belongs to.

string study = 2;

Returns
TypeDescription
CheckTrialEarlyStoppingStateMetatdata.Builder

This builder for chaining.

clearTrial()

public CheckTrialEarlyStoppingStateMetatdata.Builder clearTrial()

The Trial name.

string trial = 3;

Returns
TypeDescription
CheckTrialEarlyStoppingStateMetatdata.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CheckTrialEarlyStoppingStateMetatdata getDefaultInstanceForType()
Returns
TypeDescription
CheckTrialEarlyStoppingStateMetatdata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGenericMetadata()

public GenericOperationMetadata getGenericMetadata()

Operation metadata for suggesting Trials.

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

Returns
TypeDescription
GenericOperationMetadata

The genericMetadata.

getGenericMetadataBuilder()

public GenericOperationMetadata.Builder getGenericMetadataBuilder()

Operation metadata for suggesting Trials.

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

Returns
TypeDescription
GenericOperationMetadata.Builder

getGenericMetadataOrBuilder()

public GenericOperationMetadataOrBuilder getGenericMetadataOrBuilder()

Operation metadata for suggesting Trials.

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

Returns
TypeDescription
GenericOperationMetadataOrBuilder

getStudy()

public String getStudy()

The name of the Study that the Trial belongs to.

string study = 2;

Returns
TypeDescription
String

The study.

getStudyBytes()

public ByteString getStudyBytes()

The name of the Study that the Trial belongs to.

string study = 2;

Returns
TypeDescription
ByteString

The bytes for study.

getTrial()

public String getTrial()

The Trial name.

string trial = 3;

Returns
TypeDescription
String

The trial.

getTrialBytes()

public ByteString getTrialBytes()

The Trial name.

string trial = 3;

Returns
TypeDescription
ByteString

The bytes for trial.

hasGenericMetadata()

public boolean hasGenericMetadata()

Operation metadata for suggesting Trials.

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

Returns
TypeDescription
boolean

Whether the genericMetadata field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CheckTrialEarlyStoppingStateMetatdata other)

public CheckTrialEarlyStoppingStateMetatdata.Builder mergeFrom(CheckTrialEarlyStoppingStateMetatdata other)
Parameter
NameDescription
otherCheckTrialEarlyStoppingStateMetatdata
Returns
TypeDescription
CheckTrialEarlyStoppingStateMetatdata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGenericMetadata(GenericOperationMetadata value)

public CheckTrialEarlyStoppingStateMetatdata.Builder mergeGenericMetadata(GenericOperationMetadata value)

Operation metadata for suggesting Trials.

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

Parameter
NameDescription
valueGenericOperationMetadata
Returns
TypeDescription
CheckTrialEarlyStoppingStateMetatdata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGenericMetadata(GenericOperationMetadata value)

public CheckTrialEarlyStoppingStateMetatdata.Builder setGenericMetadata(GenericOperationMetadata value)

Operation metadata for suggesting Trials.

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

Parameter
NameDescription
valueGenericOperationMetadata
Returns
TypeDescription
CheckTrialEarlyStoppingStateMetatdata.Builder

setGenericMetadata(GenericOperationMetadata.Builder builderForValue)

public CheckTrialEarlyStoppingStateMetatdata.Builder setGenericMetadata(GenericOperationMetadata.Builder builderForValue)

Operation metadata for suggesting Trials.

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

Parameter
NameDescription
builderForValueGenericOperationMetadata.Builder
Returns
TypeDescription
CheckTrialEarlyStoppingStateMetatdata.Builder

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

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

The study to set.

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

The bytes for study to set.

Returns
TypeDescription
CheckTrialEarlyStoppingStateMetatdata.Builder

This builder for chaining.

setTrial(String value)

public CheckTrialEarlyStoppingStateMetatdata.Builder setTrial(String value)

The Trial name.

string trial = 3;

Parameter
NameDescription
valueString

The trial to set.

Returns
TypeDescription
CheckTrialEarlyStoppingStateMetatdata.Builder

This builder for chaining.

setTrialBytes(ByteString value)

public CheckTrialEarlyStoppingStateMetatdata.Builder setTrialBytes(ByteString value)

The Trial name.

string trial = 3;

Parameter
NameDescription
valueByteString

The bytes for trial to set.

Returns
TypeDescription
CheckTrialEarlyStoppingStateMetatdata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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