Interface BackupClusterRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BackupClusterRequest,BackupClusterRequest.Builder
@Generated
public interface BackupClusterRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
hasTtl
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:
- Whether the ttl field is set.
-
getTtl
com.google.protobuf.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:
- The ttl.
-
getTtlOrBuilder
com.google.protobuf.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]; -
hasBackupId
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:
- Whether the backupId field is set.
-
getBackupId
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:
- The backupId.
-
getBackupIdBytes
com.google.protobuf.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:
- The bytes for backupId.
-