public interface BackupClusterRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getBackupId()
public abstract 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 abstract 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. |
getName()
public abstract 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 abstract 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 abstract 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. |
getTtlOrBuilder()
public abstract 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 abstract 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 abstract 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. |