public static final class DeleteBackupRequest.Builder extends GeneratedMessage.Builder<DeleteBackupRequest.Builder> implements DeleteBackupRequestOrBuilderRequest for [DeleteBackup].
Protobuf type google.cloud.memorystore.v1.DeleteBackupRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeleteBackupRequest.BuilderImplements
DeleteBackupRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeleteBackupRequest build()| Returns | |
|---|---|
| Type | Description |
DeleteBackupRequest |
|
buildPartial()
public DeleteBackupRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
DeleteBackupRequest |
|
clear()
public DeleteBackupRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeleteBackupRequest.Builder |
|
clearName()
public DeleteBackupRequest.Builder clearName() Required. Instance backup resource name using the form:
projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DeleteBackupRequest.Builder |
This builder for chaining. |
clearRequestId()
public DeleteBackupRequest.Builder clearRequestId()Optional. Idempotent request UUID.
string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
DeleteBackupRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeleteBackupRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeleteBackupRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() Required. Instance backup resource name using the form:
projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Required. Instance backup resource name using the form:
projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getRequestId()
public String getRequestId()Optional. Idempotent request UUID.
string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()Optional. Idempotent request UUID.
string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for requestId. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeleteBackupRequest other)
public DeleteBackupRequest.Builder mergeFrom(DeleteBackupRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeleteBackupRequest |
| Returns | |
|---|---|
| Type | Description |
DeleteBackupRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteBackupRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeleteBackupRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeleteBackupRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeleteBackupRequest.Builder |
|
setName(String value)
public DeleteBackupRequest.Builder setName(String value) Required. Instance backup resource name using the form:
projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteBackupRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DeleteBackupRequest.Builder setNameBytes(ByteString value) Required. Instance backup resource name using the form:
projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteBackupRequest.Builder |
This builder for chaining. |
setRequestId(String value)
public DeleteBackupRequest.Builder setRequestId(String value)Optional. Idempotent request UUID.
string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe requestId to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteBackupRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public DeleteBackupRequest.Builder setRequestIdBytes(ByteString value)Optional. Idempotent request UUID.
string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for requestId to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteBackupRequest.Builder |
This builder for chaining. |