public static final class DeleteExecutionRequest.Builder extends GeneratedMessageV3.Builder<DeleteExecutionRequest.Builder> implements DeleteExecutionRequestOrBuilder
Request message for MetadataService.DeleteExecution.
Protobuf type google.cloud.aiplatform.v1beta1.DeleteExecutionRequest
Methods
public DeleteExecutionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DeleteExecutionRequest build()
Returns
public DeleteExecutionRequest buildPartial()
Returns
public DeleteExecutionRequest.Builder clear()
Returns
Overrides
public DeleteExecutionRequest.Builder clearEtag()
Optional. The etag of the Execution to delete.
If this is provided, it must match the server's etag. Otherwise, the
request will fail with a FAILED_PRECONDITION.
string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
public DeleteExecutionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public DeleteExecutionRequest.Builder clearName()
Required. The resource name of the Execution to delete.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public DeleteExecutionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public DeleteExecutionRequest.Builder clone()
Returns
Overrides
public DeleteExecutionRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
Optional. The etag of the Execution to delete.
If this is provided, it must match the server's etag. Otherwise, the
request will fail with a FAILED_PRECONDITION.
string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
String | The etag.
|
public ByteString getEtagBytes()
Optional. The etag of the Execution to delete.
If this is provided, it must match the server's etag. Otherwise, the
request will fail with a FAILED_PRECONDITION.
string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Required. The resource name of the Execution to delete.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Required. The resource name of the Execution to delete.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}
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 DeleteExecutionRequest.Builder mergeFrom(DeleteExecutionRequest other)
Parameter
Returns
public DeleteExecutionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public DeleteExecutionRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final DeleteExecutionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public DeleteExecutionRequest.Builder setEtag(String value)
Optional. The etag of the Execution to delete.
If this is provided, it must match the server's etag. Otherwise, the
request will fail with a FAILED_PRECONDITION.
string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | String
The etag to set.
|
Returns
public DeleteExecutionRequest.Builder setEtagBytes(ByteString value)
Optional. The etag of the Execution to delete.
If this is provided, it must match the server's etag. Otherwise, the
request will fail with a FAILED_PRECONDITION.
string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | ByteString
The bytes for etag to set.
|
Returns
public DeleteExecutionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DeleteExecutionRequest.Builder setName(String value)
Required. The resource name of the Execution to delete.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
public DeleteExecutionRequest.Builder setNameBytes(ByteString value)
Required. The resource name of the Execution to delete.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}
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 DeleteExecutionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final DeleteExecutionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides