Interface BackupOrBuilder (0.29.0)

public interface BackupOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackupFiles(int index)

public abstract BackupFile getBackupFiles(int index)

Output only. List of backup files of the backup.

repeated .google.cloud.redis.cluster.v1beta1.BackupFile backup_files = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
BackupFile

getBackupFilesCount()

public abstract int getBackupFilesCount()

Output only. List of backup files of the backup.

repeated .google.cloud.redis.cluster.v1beta1.BackupFile backup_files = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getBackupFilesList()

public abstract List<BackupFile> getBackupFilesList()

Output only. List of backup files of the backup.

repeated .google.cloud.redis.cluster.v1beta1.BackupFile backup_files = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<BackupFile>

getBackupFilesOrBuilder(int index)

public abstract BackupFileOrBuilder getBackupFilesOrBuilder(int index)

Output only. List of backup files of the backup.

repeated .google.cloud.redis.cluster.v1beta1.BackupFile backup_files = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
BackupFileOrBuilder

getBackupFilesOrBuilderList()

public abstract List<? extends BackupFileOrBuilder> getBackupFilesOrBuilderList()

Output only. List of backup files of the backup.

repeated .google.cloud.redis.cluster.v1beta1.BackupFile backup_files = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.redis.cluster.v1beta1.BackupFileOrBuilder>

getBackupType()

public abstract Backup.BackupType getBackupType()

Output only. Type of the backup.

.google.cloud.redis.cluster.v1beta1.Backup.BackupType backup_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Backup.BackupType

The backupType.

getBackupTypeValue()

public abstract int getBackupTypeValue()

Output only. Type of the backup.

.google.cloud.redis.cluster.v1beta1.Backup.BackupType backup_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for backupType.

getCluster()

public abstract String getCluster()

Output only. Cluster resource path of this backup.

string cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The cluster.

getClusterBytes()

public abstract ByteString getClusterBytes()

Output only. Cluster resource path of this backup.

string cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for cluster.

getClusterUid()

public abstract String getClusterUid()

Output only. Cluster uid of this backup.

string cluster_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
String

The clusterUid.

getClusterUidBytes()

public abstract ByteString getClusterUidBytes()

Output only. Cluster uid of this backup.

string cluster_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for clusterUid.

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The time when the backup was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time when the backup was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getEncryptionInfo()

public abstract EncryptionInfo getEncryptionInfo()

Output only. Encryption information of the backup.

.google.cloud.redis.cluster.v1beta1.EncryptionInfo encryption_info = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EncryptionInfo

The encryptionInfo.

getEncryptionInfoOrBuilder()

public abstract EncryptionInfoOrBuilder getEncryptionInfoOrBuilder()

Output only. Encryption information of the backup.

.google.cloud.redis.cluster.v1beta1.EncryptionInfo encryption_info = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EncryptionInfoOrBuilder

getEngineVersion()

public abstract String getEngineVersion()

Output only. redis-7.2, valkey-7.5

string engine_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The engineVersion.

getEngineVersionBytes()

public abstract ByteString getEngineVersionBytes()

Output only. redis-7.2, valkey-7.5

string engine_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for engineVersion.

getExpireTime()

public abstract Timestamp getExpireTime()

Output only. The time when the backup will expire.

.google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The expireTime.

getExpireTimeOrBuilder()

public abstract TimestampOrBuilder getExpireTimeOrBuilder()

Output only. The time when the backup will expire.

.google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getName()

public abstract String getName()

Identifier. Full resource path of the backup. the last part of the name is the backup id with the following format: [YYYYMMDDHHMMSS]_[Shorted Cluster UID] OR customer specified while backup cluster. Example: 20240515123000_1234

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. Full resource path of the backup. the last part of the name is the backup id with the following format: [YYYYMMDDHHMMSS]_[Shorted Cluster UID] OR customer specified while backup cluster. Example: 20240515123000_1234

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getNodeType()

public abstract NodeType getNodeType()

Output only. Node type of the cluster.

.google.cloud.redis.cluster.v1beta1.NodeType node_type = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
NodeType

The nodeType.

getNodeTypeValue()

public abstract int getNodeTypeValue()

Output only. Node type of the cluster.

.google.cloud.redis.cluster.v1beta1.NodeType node_type = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for nodeType.

getReplicaCount()

public abstract int getReplicaCount()

Output only. Number of replicas for the cluster.

int32 replica_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The replicaCount.

getShardCount()

public abstract int getShardCount()

Output only. Number of shards for the cluster.

int32 shard_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The shardCount.

getState()

public abstract Backup.State getState()

Output only. State of the backup.

.google.cloud.redis.cluster.v1beta1.Backup.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Backup.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. State of the backup.

.google.cloud.redis.cluster.v1beta1.Backup.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getTotalSizeBytes()

public abstract long getTotalSizeBytes()

Output only. Total size of the backup in bytes.

int64 total_size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The totalSizeBytes.

getUid()

public abstract String getUid()

Output only. System assigned unique identifier of the backup.

string uid = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
String

The uid.

getUidBytes()

public abstract ByteString getUidBytes()

Output only. System assigned unique identifier of the backup.

string uid = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for uid.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The time when the backup was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasEncryptionInfo()

public abstract boolean hasEncryptionInfo()

Output only. Encryption information of the backup.

.google.cloud.redis.cluster.v1beta1.EncryptionInfo encryption_info = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the encryptionInfo field is set.

hasExpireTime()

public abstract boolean hasExpireTime()

Output only. The time when the backup will expire.

.google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the expireTime field is set.