Class SuggestTrialsMetadata.Builder (3.48.0)

public static final class SuggestTrialsMetadata.Builder extends GeneratedMessageV3.Builder<SuggestTrialsMetadata.Builder> implements SuggestTrialsMetadataOrBuilder

Details of operations that perform Trials suggestion.

Protobuf type google.cloud.aiplatform.v1beta1.SuggestTrialsMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SuggestTrialsMetadata build()
Returns
Type Description
SuggestTrialsMetadata

buildPartial()

public SuggestTrialsMetadata buildPartial()
Returns
Type Description
SuggestTrialsMetadata

clear()

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

clearClientId()

public SuggestTrialsMetadata.Builder clearClientId()

The identifier of the client that is requesting the suggestion.

If multiple SuggestTrialsRequests have the same client_id, the service will return the identical suggested Trial if the Trial is pending, and provide a new Trial if the last suggested Trial was completed.

string client_id = 2;

Returns
Type Description
SuggestTrialsMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGenericMetadata()

public SuggestTrialsMetadata.Builder clearGenericMetadata()

Operation metadata for suggesting Trials.

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

Returns
Type Description
SuggestTrialsMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getClientId()

public String getClientId()

The identifier of the client that is requesting the suggestion.

If multiple SuggestTrialsRequests have the same client_id, the service will return the identical suggested Trial if the Trial is pending, and provide a new Trial if the last suggested Trial was completed.

string client_id = 2;

Returns
Type Description
String

The clientId.

getClientIdBytes()

public ByteString getClientIdBytes()

The identifier of the client that is requesting the suggestion.

If multiple SuggestTrialsRequests have the same client_id, the service will return the identical suggested Trial if the Trial is pending, and provide a new Trial if the last suggested Trial was completed.

string client_id = 2;

Returns
Type Description
ByteString

The bytes for clientId.

getDefaultInstanceForType()

public SuggestTrialsMetadata getDefaultInstanceForType()
Returns
Type Description
SuggestTrialsMetadata

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

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(SuggestTrialsMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGenericMetadata(GenericOperationMetadata value)

public SuggestTrialsMetadata.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
SuggestTrialsMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setClientId(String value)

public SuggestTrialsMetadata.Builder setClientId(String value)

The identifier of the client that is requesting the suggestion.

If multiple SuggestTrialsRequests have the same client_id, the service will return the identical suggested Trial if the Trial is pending, and provide a new Trial if the last suggested Trial was completed.

string client_id = 2;

Parameter
Name Description
value String

The clientId to set.

Returns
Type Description
SuggestTrialsMetadata.Builder

This builder for chaining.

setClientIdBytes(ByteString value)

public SuggestTrialsMetadata.Builder setClientIdBytes(ByteString value)

The identifier of the client that is requesting the suggestion.

If multiple SuggestTrialsRequests have the same client_id, the service will return the identical suggested Trial if the Trial is pending, and provide a new Trial if the last suggested Trial was completed.

string client_id = 2;

Parameter
Name Description
value ByteString

The bytes for clientId to set.

Returns
Type Description
SuggestTrialsMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGenericMetadata(GenericOperationMetadata value)

public SuggestTrialsMetadata.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
SuggestTrialsMetadata.Builder

setGenericMetadata(GenericOperationMetadata.Builder builderForValue)

public SuggestTrialsMetadata.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
SuggestTrialsMetadata.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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