- 0.57.0 (latest)
- 0.55.0
- 0.54.0
- 0.52.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class BackupClusterRequest.Builder extends GeneratedMessage.Builder<BackupClusterRequest.Builder> implements BackupClusterRequestOrBuilderRequest for [BackupCluster].
Protobuf type google.cloud.redis.cluster.v1beta1.BackupClusterRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BackupClusterRequest.BuilderImplements
BackupClusterRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BackupClusterRequest build()| Returns | |
|---|---|
| Type | Description |
BackupClusterRequest |
|
buildPartial()
public BackupClusterRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
BackupClusterRequest |
|
clear()
public BackupClusterRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
BackupClusterRequest.Builder |
|
clearBackupId()
public BackupClusterRequest.Builder clearBackupId()Optional. The id of the backup to be created. If not specified, the default value ([YYYYMMDDHHMMSS]_[Shortened Cluster UID] is used.
optional string backup_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BackupClusterRequest.Builder |
This builder for chaining. |
clearName()
public BackupClusterRequest.Builder clearName() Required. Redis cluster resource name using the form:
projects/{project_id}/locations/{location_id}/clusters/{cluster_id}
where location_id refers to a GCP region.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
BackupClusterRequest.Builder |
This builder for chaining. |
clearTtl()
public BackupClusterRequest.Builder clearTtl()Optional. TTL for the backup to expire. Value range is 1 day to 100 years. If not specified, the default value is 100 years.
.google.protobuf.Duration ttl = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BackupClusterRequest.Builder |
|
getBackupId()
public String getBackupId()Optional. The id of the backup to be created. If not specified, the default value ([YYYYMMDDHHMMSS]_[Shortened Cluster UID] is used.
optional string backup_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The backupId. |
getBackupIdBytes()
public ByteString getBackupIdBytes()Optional. The id of the backup to be created. If not specified, the default value ([YYYYMMDDHHMMSS]_[Shortened Cluster UID] is used.
optional string backup_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for backupId. |
getDefaultInstanceForType()
public BackupClusterRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BackupClusterRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() Required. Redis cluster resource name using the form:
projects/{project_id}/locations/{location_id}/clusters/{cluster_id}
where location_id refers to a GCP region.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Required. Redis cluster resource name using the form:
projects/{project_id}/locations/{location_id}/clusters/{cluster_id}
where location_id refers to a GCP region.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getTtl()
public Duration getTtl()Optional. TTL for the backup to expire. Value range is 1 day to 100 years. If not specified, the default value is 100 years.
.google.protobuf.Duration ttl = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Duration |
The ttl. |
getTtlBuilder()
public Duration.Builder getTtlBuilder()Optional. TTL for the backup to expire. Value range is 1 day to 100 years. If not specified, the default value is 100 years.
.google.protobuf.Duration ttl = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getTtlOrBuilder()
public DurationOrBuilder getTtlOrBuilder()Optional. TTL for the backup to expire. Value range is 1 day to 100 years. If not specified, the default value is 100 years.
.google.protobuf.Duration ttl = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
hasBackupId()
public boolean hasBackupId()Optional. The id of the backup to be created. If not specified, the default value ([YYYYMMDDHHMMSS]_[Shortened Cluster UID] is used.
optional string backup_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the backupId field is set. |
hasTtl()
public boolean hasTtl()Optional. TTL for the backup to expire. Value range is 1 day to 100 years. If not specified, the default value is 100 years.
.google.protobuf.Duration ttl = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the ttl field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BackupClusterRequest other)
public BackupClusterRequest.Builder mergeFrom(BackupClusterRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
BackupClusterRequest |
| Returns | |
|---|---|
| Type | Description |
BackupClusterRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BackupClusterRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupClusterRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BackupClusterRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BackupClusterRequest.Builder |
|
mergeTtl(Duration value)
public BackupClusterRequest.Builder mergeTtl(Duration value)Optional. TTL for the backup to expire. Value range is 1 day to 100 years. If not specified, the default value is 100 years.
.google.protobuf.Duration ttl = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
BackupClusterRequest.Builder |
|
setBackupId(String value)
public BackupClusterRequest.Builder setBackupId(String value)Optional. The id of the backup to be created. If not specified, the default value ([YYYYMMDDHHMMSS]_[Shortened Cluster UID] is used.
optional string backup_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe backupId to set. |
| Returns | |
|---|---|
| Type | Description |
BackupClusterRequest.Builder |
This builder for chaining. |
setBackupIdBytes(ByteString value)
public BackupClusterRequest.Builder setBackupIdBytes(ByteString value)Optional. The id of the backup to be created. If not specified, the default value ([YYYYMMDDHHMMSS]_[Shortened Cluster UID] is used.
optional string backup_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for backupId to set. |
| Returns | |
|---|---|
| Type | Description |
BackupClusterRequest.Builder |
This builder for chaining. |
setName(String value)
public BackupClusterRequest.Builder setName(String value) Required. Redis cluster resource name using the form:
projects/{project_id}/locations/{location_id}/clusters/{cluster_id}
where location_id refers to a GCP region.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
BackupClusterRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public BackupClusterRequest.Builder setNameBytes(ByteString value) Required. Redis cluster resource name using the form:
projects/{project_id}/locations/{location_id}/clusters/{cluster_id}
where location_id refers to a GCP region.
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 |
BackupClusterRequest.Builder |
This builder for chaining. |
setTtl(Duration value)
public BackupClusterRequest.Builder setTtl(Duration value)Optional. TTL for the backup to expire. Value range is 1 day to 100 years. If not specified, the default value is 100 years.
.google.protobuf.Duration ttl = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
BackupClusterRequest.Builder |
|
setTtl(Duration.Builder builderForValue)
public BackupClusterRequest.Builder setTtl(Duration.Builder builderForValue)Optional. TTL for the backup to expire. Value range is 1 day to 100 years. If not specified, the default value is 100 years.
.google.protobuf.Duration ttl = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
BackupClusterRequest.Builder |
|