Interface BackupOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Backup, Backup.Builder

@Generated public interface BackupOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      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:
      The name.
    • getNameBytes

      com.google.protobuf.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:
      The bytes for name.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. The time when the backup was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. The time when the backup was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time when the backup was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCluster

      String getCluster()
       Output only. Cluster resource path of this backup.
       
      string cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      The cluster.
    • getClusterBytes

      com.google.protobuf.ByteString getClusterBytes()
       Output only. Cluster resource path of this backup.
       
      string cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for cluster.
    • getClusterUid

      String getClusterUid()
       Output only. Cluster uid of this backup.
       
      string cluster_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Returns:
      The clusterUid.
    • getClusterUidBytes

      com.google.protobuf.ByteString getClusterUidBytes()
       Output only. Cluster uid of this backup.
       
      string cluster_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Returns:
      The bytes for clusterUid.
    • getTotalSizeBytes

      long getTotalSizeBytes()
       Output only. Total size of the backup in bytes.
       
      int64 total_size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The totalSizeBytes.
    • hasExpireTime

      boolean hasExpireTime()
       Output only. The time when the backup will expire.
       
      .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the expireTime field is set.
    • getExpireTime

      com.google.protobuf.Timestamp getExpireTime()
       Output only. The time when the backup will expire.
       
      .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The expireTime.
    • getExpireTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
       Output only. The time when the backup will expire.
       
      .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEngineVersion

      String getEngineVersion()
       Output only. redis-7.2, valkey-7.5
       
      string engine_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The engineVersion.
    • getEngineVersionBytes

      com.google.protobuf.ByteString getEngineVersionBytes()
       Output only. redis-7.2, valkey-7.5
       
      string engine_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for engineVersion.
    • getBackupFilesList

      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];
    • getBackupFiles

      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];
    • getBackupFilesCount

      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];
    • getBackupFilesOrBuilderList

      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];
    • getBackupFilesOrBuilder

      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];
    • getNodeTypeValue

      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:
      The enum numeric value on the wire for nodeType.
    • getNodeType

      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:
      The nodeType.
    • getReplicaCount

      int getReplicaCount()
       Output only. Number of replicas for the cluster.
       
      int32 replica_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The replicaCount.
    • getShardCount

      int getShardCount()
       Output only. Number of shards for the cluster.
       
      int32 shard_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The shardCount.
    • getBackupTypeValue

      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:
      The enum numeric value on the wire for backupType.
    • getBackupType

      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:
      The backupType.
    • getStateValue

      int getStateValue()
       Output only. State of the backup.
       
      .google.cloud.redis.cluster.v1beta1.Backup.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for state.
    • getState

      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:
      The state.
    • hasEncryptionInfo

      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:
      Whether the encryptionInfo field is set.
    • getEncryptionInfo

      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:
      The encryptionInfo.
    • getEncryptionInfoOrBuilder

      EncryptionInfoOrBuilder getEncryptionInfoOrBuilder()
       Output only. Encryption information of the backup.
       
      .google.cloud.redis.cluster.v1beta1.EncryptionInfo encryption_info = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUid

      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:
      The uid.
    • getUidBytes

      com.google.protobuf.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:
      The bytes for uid.