Class SuggestTrialsMetadata.Builder (3.14.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.v1.SuggestTrialsMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SuggestTrialsMetadata build()
Returns
TypeDescription
SuggestTrialsMetadata

buildPartial()

public SuggestTrialsMetadata buildPartial()
Returns
TypeDescription
SuggestTrialsMetadata

clear()

public SuggestTrialsMetadata.Builder clear()
Returns
TypeDescription
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
TypeDescription
SuggestTrialsMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGenericMetadata()

public SuggestTrialsMetadata.Builder clearGenericMetadata()

Operation metadata for suggesting Trials.

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

Returns
TypeDescription
SuggestTrialsMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public SuggestTrialsMetadata.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for clientId.

getDefaultInstanceForType()

public SuggestTrialsMetadata getDefaultInstanceForType()
Returns
TypeDescription
SuggestTrialsMetadata

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

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

public SuggestTrialsMetadata.Builder mergeFrom(SuggestTrialsMetadata other)
Parameter
NameDescription
otherSuggestTrialsMetadata
Returns
TypeDescription
SuggestTrialsMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGenericMetadata(GenericOperationMetadata value)

public SuggestTrialsMetadata.Builder mergeGenericMetadata(GenericOperationMetadata value)

Operation metadata for suggesting Trials.

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

Parameter
NameDescription
valueGenericOperationMetadata
Returns
TypeDescription
SuggestTrialsMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SuggestTrialsMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The clientId to set.

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

The bytes for clientId to set.

Returns
TypeDescription
SuggestTrialsMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGenericMetadata(GenericOperationMetadata value)

public SuggestTrialsMetadata.Builder setGenericMetadata(GenericOperationMetadata value)

Operation metadata for suggesting Trials.

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

Parameter
NameDescription
valueGenericOperationMetadata
Returns
TypeDescription
SuggestTrialsMetadata.Builder

setGenericMetadata(GenericOperationMetadata.Builder builderForValue)

public SuggestTrialsMetadata.Builder setGenericMetadata(GenericOperationMetadata.Builder builderForValue)

Operation metadata for suggesting Trials.

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

Parameter
NameDescription
builderForValueGenericOperationMetadata.Builder
Returns
TypeDescription
SuggestTrialsMetadata.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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