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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public SuggestTrialsMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public SuggestTrialsMetadata build()
Returns
public SuggestTrialsMetadata buildPartial()
Returns
public SuggestTrialsMetadata.Builder clear()
Returns
Overrides
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
public SuggestTrialsMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public SuggestTrialsMetadata.Builder clearGenericMetadata()
Operation metadata for suggesting Trials.
.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
Returns
public SuggestTrialsMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public SuggestTrialsMetadata.Builder clone()
Returns
Overrides
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.
|
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
public SuggestTrialsMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public GenericOperationMetadata getGenericMetadata()
Operation metadata for suggesting Trials.
.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
Returns
public GenericOperationMetadata.Builder getGenericMetadataBuilder()
Operation metadata for suggesting Trials.
.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
Returns
public GenericOperationMetadataOrBuilder getGenericMetadataOrBuilder()
Operation metadata for suggesting Trials.
.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
Returns
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public SuggestTrialsMetadata.Builder mergeFrom(SuggestTrialsMetadata other)
Parameter
Returns
public SuggestTrialsMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public SuggestTrialsMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public SuggestTrialsMetadata.Builder mergeGenericMetadata(GenericOperationMetadata value)
Operation metadata for suggesting Trials.
.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
Parameter
Returns
public final SuggestTrialsMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
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
public SuggestTrialsMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public SuggestTrialsMetadata.Builder setGenericMetadata(GenericOperationMetadata value)
Operation metadata for suggesting Trials.
.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
Parameter
Returns
public SuggestTrialsMetadata.Builder setGenericMetadata(GenericOperationMetadata.Builder builderForValue)
Operation metadata for suggesting Trials.
.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
Parameter
Returns
public SuggestTrialsMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final SuggestTrialsMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides