public interface BackupOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getBackupFiles(int index)
public abstract BackupFile getBackupFiles(int index)
Output only. List of backup files of the backup.
repeated .google.cloud.memorystore.v1.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.memorystore.v1.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.memorystore.v1.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.memorystore.v1.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.memorystore.v1.BackupFile backup_files = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.memorystore.v1.BackupFileOrBuilder> |
getBackupType()
public abstract Backup.BackupType getBackupType()
Output only. Type of the backup.
.google.cloud.memorystore.v1.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.memorystore.v1.Backup.BackupType backup_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for backupType. |
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 |
getEngineVersion()
public abstract String getEngineVersion()
Output only. valkey-7.5/valkey-8.0, etc.
string engine_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The engineVersion. |
getEngineVersionBytes()
public abstract ByteString getEngineVersionBytes()
Output only. valkey-7.5/valkey-8.0, etc.
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 |
getInstance()
public abstract String getInstance()
Output only. Instance resource path of this backup.
string instance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The instance. |
getInstanceBytes()
public abstract ByteString getInstanceBytes()
Output only. Instance resource path of this backup.
string instance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for instance. |
getInstanceUid()
public abstract String getInstanceUid()
Output only. Instance uid of this backup.
string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
String |
The instanceUid. |
getInstanceUidBytes()
public abstract ByteString getInstanceUidBytes()
Output only. Instance uid of this backup.
string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for instanceUid. |
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 Instance UID] OR customer specified while backup instance. 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 Instance UID] OR customer specified while backup instance. Example: 20240515123000_1234
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getNodeType()
public abstract Instance.NodeType getNodeType()
Output only. Node type of the instance.
.google.cloud.memorystore.v1.Instance.NodeType node_type = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Instance.NodeType |
The nodeType. |
getNodeTypeValue()
public abstract int getNodeTypeValue()
Output only. Node type of the instance.
.google.cloud.memorystore.v1.Instance.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 instance.
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 instance.
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.memorystore.v1.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.memorystore.v1.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. |
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. |