public final class DeleteBackupRequest extends GeneratedMessageV3 implements DeleteBackupRequestOrBuilder
Request message for DataprocMetastore.DeleteBackup.
Protobuf type google.cloud.metastore.v1.DeleteBackupRequest
Static Fields
public static final int NAME_FIELD_NUMBER
Field Value
public static final int REQUEST_ID_FIELD_NUMBER
Field Value
Static Methods
public static DeleteBackupRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static DeleteBackupRequest.Builder newBuilder()
Returns
public static DeleteBackupRequest.Builder newBuilder(DeleteBackupRequest prototype)
Parameter
Returns
public static DeleteBackupRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DeleteBackupRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteBackupRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static DeleteBackupRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteBackupRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static DeleteBackupRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteBackupRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DeleteBackupRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteBackupRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DeleteBackupRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteBackupRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static DeleteBackupRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<DeleteBackupRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public DeleteBackupRequest getDefaultInstanceForType()
Returns
Required. The relative resource name of the backup to delete, in the
following form:
projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Required. The relative resource name of the backup to delete, in the
following form:
projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public Parser<DeleteBackupRequest> getParserForType()
Returns
Overrides
public String getRequestId()
Optional. A request ID. Specify a unique request ID to allow the server to ignore the
request if it has completed. The server will ignore subsequent requests
that provide a duplicate request ID for at least 60 minutes after the first
request.
For example, if an initial request times out, followed by another request
with the same request ID, the server ignores the second request to prevent
the creation of duplicate commitments.
The request ID must be a valid
UUID
A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
String | The requestId.
|
public ByteString getRequestIdBytes()
Optional. A request ID. Specify a unique request ID to allow the server to ignore the
request if it has completed. The server will ignore subsequent requests
that provide a duplicate request ID for at least 60 minutes after the first
request.
For example, if an initial request times out, followed by another request
with the same request ID, the server ignores the second request to prevent
the creation of duplicate commitments.
The request ID must be a valid
UUID
A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public DeleteBackupRequest.Builder newBuilderForType()
Returns
protected DeleteBackupRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public DeleteBackupRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions