public static final class DeleteTrialRequest.Builder extends GeneratedMessageV3.Builder<DeleteTrialRequest.Builder> implements DeleteTrialRequestOrBuilder
Request message for VizierService.DeleteTrial.
Protobuf type google.cloud.aiplatform.v1.DeleteTrialRequest
Methods
public DeleteTrialRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DeleteTrialRequest build()
Returns
public DeleteTrialRequest buildPartial()
Returns
public DeleteTrialRequest.Builder clear()
Returns
Overrides
public DeleteTrialRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public DeleteTrialRequest.Builder clearName()
Required. The Trial's name.
Format:
projects/{project}/locations/{location}/studies/{study}/trials/{trial}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public DeleteTrialRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public DeleteTrialRequest.Builder clone()
Returns
Overrides
public DeleteTrialRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
Required. The Trial's name.
Format:
projects/{project}/locations/{location}/studies/{study}/trials/{trial}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Required. The Trial's name.
Format:
projects/{project}/locations/{location}/studies/{study}/trials/{trial}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public DeleteTrialRequest.Builder mergeFrom(DeleteTrialRequest other)
Parameter
Returns
public DeleteTrialRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public DeleteTrialRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final DeleteTrialRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public DeleteTrialRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DeleteTrialRequest.Builder setName(String value)
Required. The Trial's name.
Format:
projects/{project}/locations/{location}/studies/{study}/trials/{trial}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
public DeleteTrialRequest.Builder setNameBytes(ByteString value)
Required. The Trial's name.
Format:
projects/{project}/locations/{location}/studies/{study}/trials/{trial}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
public DeleteTrialRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final DeleteTrialRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides