public static final class ExportBackupRequest.Builder extends GeneratedMessage.Builder<ExportBackupRequest.Builder> implements ExportBackupRequestOrBuilderRequest for [ExportBackup].
Protobuf type google.cloud.memorystore.v1.ExportBackupRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExportBackupRequest.BuilderImplements
ExportBackupRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ExportBackupRequest build()| Returns | |
|---|---|
| Type | Description |
ExportBackupRequest |
|
buildPartial()
public ExportBackupRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ExportBackupRequest |
|
clear()
public ExportBackupRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ExportBackupRequest.Builder |
|
clearDestination()
public ExportBackupRequest.Builder clearDestination()| Returns | |
|---|---|
| Type | Description |
ExportBackupRequest.Builder |
|
clearGcsBucket()
public ExportBackupRequest.Builder clearGcsBucket()Google Cloud Storage bucket, like "my-bucket".
string gcs_bucket = 2;
| Returns | |
|---|---|
| Type | Description |
ExportBackupRequest.Builder |
This builder for chaining. |
clearName()
public ExportBackupRequest.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 |
ExportBackupRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ExportBackupRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ExportBackupRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDestinationCase()
public ExportBackupRequest.DestinationCase getDestinationCase()| Returns | |
|---|---|
| Type | Description |
ExportBackupRequest.DestinationCase |
|
getGcsBucket()
public String getGcsBucket()Google Cloud Storage bucket, like "my-bucket".
string gcs_bucket = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The gcsBucket. |
getGcsBucketBytes()
public ByteString getGcsBucketBytes()Google Cloud Storage bucket, like "my-bucket".
string gcs_bucket = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gcsBucket. |
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. |
hasGcsBucket()
public boolean hasGcsBucket()Google Cloud Storage bucket, like "my-bucket".
string gcs_bucket = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gcsBucket field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ExportBackupRequest other)
public ExportBackupRequest.Builder mergeFrom(ExportBackupRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ExportBackupRequest |
| Returns | |
|---|---|
| Type | Description |
ExportBackupRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExportBackupRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportBackupRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExportBackupRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExportBackupRequest.Builder |
|
setGcsBucket(String value)
public ExportBackupRequest.Builder setGcsBucket(String value)Google Cloud Storage bucket, like "my-bucket".
string gcs_bucket = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe gcsBucket to set. |
| Returns | |
|---|---|
| Type | Description |
ExportBackupRequest.Builder |
This builder for chaining. |
setGcsBucketBytes(ByteString value)
public ExportBackupRequest.Builder setGcsBucketBytes(ByteString value)Google Cloud Storage bucket, like "my-bucket".
string gcs_bucket = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for gcsBucket to set. |
| Returns | |
|---|---|
| Type | Description |
ExportBackupRequest.Builder |
This builder for chaining. |
setName(String value)
public ExportBackupRequest.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 |
ExportBackupRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ExportBackupRequest.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 |
ExportBackupRequest.Builder |
This builder for chaining. |