public static final class Backup.Builder extends GeneratedMessageV3.Builder<Backup.Builder> implements BackupOrBuilderBackup of an instance.
 Protobuf type google.cloud.memorystore.v1.Backup
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Backup.BuilderImplements
BackupOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addAllBackupFiles(Iterable<? extends BackupFile> values)
public Backup.Builder addAllBackupFiles(Iterable<? extends BackupFile> values)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 | 
values | 
        Iterable<? extends com.google.cloud.memorystore.v1.BackupFile> | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
addBackupFiles(BackupFile value)
public Backup.Builder addBackupFiles(BackupFile value)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 | 
value | 
        BackupFile | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
addBackupFiles(BackupFile.Builder builderForValue)
public Backup.Builder addBackupFiles(BackupFile.Builder builderForValue)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 | 
builderForValue | 
        BackupFile.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
addBackupFiles(int index, BackupFile value)
public Backup.Builder addBackupFiles(int index, BackupFile value)Output only. List of backup files of the backup.
 
 repeated .google.cloud.memorystore.v1.BackupFile backup_files = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
value | 
        BackupFile | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
addBackupFiles(int index, BackupFile.Builder builderForValue)
public Backup.Builder addBackupFiles(int index, BackupFile.Builder builderForValue)Output only. List of backup files of the backup.
 
 repeated .google.cloud.memorystore.v1.BackupFile backup_files = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        BackupFile.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
addBackupFilesBuilder()
public BackupFile.Builder addBackupFilesBuilder()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 | 
BackupFile.Builder | 
        |
addBackupFilesBuilder(int index)
public BackupFile.Builder addBackupFilesBuilder(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.Builder | 
        |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Backup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
build()
public Backup build()| Returns | |
|---|---|
| Type | Description | 
Backup | 
        |
buildPartial()
public Backup buildPartial()| Returns | |
|---|---|
| Type | Description | 
Backup | 
        |
clear()
public Backup.Builder clear()| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
clearBackupFiles()
public Backup.Builder clearBackupFiles()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 | 
Backup.Builder | 
        |
clearBackupType()
public Backup.Builder clearBackupType()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.Builder | 
        This builder for chaining.  | 
      
clearCreateTime()
public Backup.Builder clearCreateTime()Output only. The time when the backup was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
clearEngineVersion()
public Backup.Builder clearEngineVersion()Output only. valkey-7.5/valkey-8.0, etc.
 string engine_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
clearExpireTime()
public Backup.Builder clearExpireTime()Output only. The time when the backup will expire.
 
 .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
clearField(Descriptors.FieldDescriptor field)
public Backup.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
clearInstance()
public Backup.Builder clearInstance()Output only. Instance resource path of this backup.
 
 string instance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
clearInstanceUid()
public Backup.Builder clearInstanceUid()Output only. Instance uid of this backup.
 
 string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
clearName()
public Backup.Builder clearName()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 | 
Backup.Builder | 
        This builder for chaining.  | 
      
clearNodeType()
public Backup.Builder clearNodeType()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 | 
Backup.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public Backup.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
clearReplicaCount()
public Backup.Builder clearReplicaCount()Output only. Number of replicas for the instance.
 int32 replica_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
clearShardCount()
public Backup.Builder clearShardCount()Output only. Number of shards for the instance.
 int32 shard_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
clearState()
public Backup.Builder clearState()Output only. State of the backup.
 
 .google.cloud.memorystore.v1.Backup.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
clearTotalSizeBytes()
public Backup.Builder clearTotalSizeBytes()Output only. Total size of the backup in bytes.
 int64 total_size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
clearUid()
public Backup.Builder clearUid()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 | 
Backup.Builder | 
        This builder for chaining.  | 
      
clone()
public Backup.Builder clone()| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
getBackupFiles(int index)
public 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 | 
        |
getBackupFilesBuilder(int index)
public BackupFile.Builder getBackupFilesBuilder(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.Builder | 
        |
getBackupFilesBuilderList()
public List<BackupFile.Builder> getBackupFilesBuilderList()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<Builder> | 
        |
getBackupFilesCount()
public 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 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 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 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 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 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 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.  | 
      
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The time when the backup was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Builder | 
        |
getCreateTimeOrBuilder()
public 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 | 
        |
getDefaultInstanceForType()
public Backup getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
Backup | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getEngineVersion()
public 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 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 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.  | 
      
getExpireTimeBuilder()
public Timestamp.Builder getExpireTimeBuilder()Output only. The time when the backup will expire.
 
 .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Builder | 
        |
getExpireTimeOrBuilder()
public 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeCreateTime(Timestamp value)
public Backup.Builder mergeCreateTime(Timestamp value)Output only. The time when the backup was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
mergeExpireTime(Timestamp value)
public Backup.Builder mergeExpireTime(Timestamp value)Output only. The time when the backup will expire.
 
 .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
mergeFrom(Backup other)
public Backup.Builder mergeFrom(Backup other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Backup | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Backup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public Backup.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Backup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
removeBackupFiles(int index)
public Backup.Builder removeBackupFiles(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 | 
Backup.Builder | 
        |
setBackupFiles(int index, BackupFile value)
public Backup.Builder setBackupFiles(int index, BackupFile value)Output only. List of backup files of the backup.
 
 repeated .google.cloud.memorystore.v1.BackupFile backup_files = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
value | 
        BackupFile | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
setBackupFiles(int index, BackupFile.Builder builderForValue)
public Backup.Builder setBackupFiles(int index, BackupFile.Builder builderForValue)Output only. List of backup files of the backup.
 
 repeated .google.cloud.memorystore.v1.BackupFile backup_files = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        BackupFile.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
setBackupType(Backup.BackupType value)
public Backup.Builder setBackupType(Backup.BackupType value)Output only. Type of the backup.
 
 .google.cloud.memorystore.v1.Backup.BackupType backup_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Backup.BackupTypeThe backupType to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
setBackupTypeValue(int value)
public Backup.Builder setBackupTypeValue(int value)Output only. Type of the backup.
 
 .google.cloud.memorystore.v1.Backup.BackupType backup_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for backupType to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
setCreateTime(Timestamp value)
public Backup.Builder setCreateTime(Timestamp value)Output only. The time when the backup was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
setCreateTime(Timestamp.Builder builderForValue)
public Backup.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The time when the backup was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
setEngineVersion(String value)
public Backup.Builder setEngineVersion(String value)Output only. valkey-7.5/valkey-8.0, etc.
 string engine_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe engineVersion to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
setEngineVersionBytes(ByteString value)
public Backup.Builder setEngineVersionBytes(ByteString value)Output only. valkey-7.5/valkey-8.0, etc.
 string engine_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for engineVersion to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
setExpireTime(Timestamp value)
public Backup.Builder setExpireTime(Timestamp value)Output only. The time when the backup will expire.
 
 .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
setExpireTime(Timestamp.Builder builderForValue)
public Backup.Builder setExpireTime(Timestamp.Builder builderForValue)Output only. The time when the backup will expire.
 
 .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
setField(Descriptors.FieldDescriptor field, Object value)
public Backup.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
setInstance(String value)
public Backup.Builder setInstance(String value)Output only. Instance resource path of this backup.
 
 string instance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe instance to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
setInstanceBytes(ByteString value)
public Backup.Builder setInstanceBytes(ByteString value)Output only. Instance resource path of this backup.
 
 string instance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for instance to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
setInstanceUid(String value)
public Backup.Builder setInstanceUid(String value)Output only. Instance uid of this backup.
 
 string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe instanceUid to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
setInstanceUidBytes(ByteString value)
public Backup.Builder setInstanceUidBytes(ByteString value)Output only. Instance uid of this backup.
 
 string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for instanceUid to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
setName(String value)
public Backup.Builder setName(String value)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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
setNameBytes(ByteString value)
public Backup.Builder setNameBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
setNodeType(Instance.NodeType value)
public Backup.Builder setNodeType(Instance.NodeType value)Output only. Node type of the instance.
 
 .google.cloud.memorystore.v1.Instance.NodeType node_type = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Instance.NodeTypeThe nodeType to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
setNodeTypeValue(int value)
public Backup.Builder setNodeTypeValue(int value)Output only. Node type of the instance.
 
 .google.cloud.memorystore.v1.Instance.NodeType node_type = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for nodeType to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Backup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |
setReplicaCount(int value)
public Backup.Builder setReplicaCount(int value)Output only. Number of replicas for the instance.
 int32 replica_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe replicaCount to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
setShardCount(int value)
public Backup.Builder setShardCount(int value)Output only. Number of shards for the instance.
 int32 shard_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe shardCount to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
setState(Backup.State value)
public Backup.Builder setState(Backup.State value)Output only. State of the backup.
 
 .google.cloud.memorystore.v1.Backup.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Backup.StateThe state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
setStateValue(int value)
public Backup.Builder setStateValue(int value)Output only. State of the backup.
 
 .google.cloud.memorystore.v1.Backup.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
setTotalSizeBytes(long value)
public Backup.Builder setTotalSizeBytes(long value)Output only. Total size of the backup in bytes.
 int64 total_size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        longThe totalSizeBytes to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
setUid(String value)
public Backup.Builder setUid(String value)Output only. System assigned unique identifier of the backup.
 
 string uid = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe uid to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
setUidBytes(ByteString value)
public Backup.Builder setUidBytes(ByteString value)Output only. System assigned unique identifier of the backup.
 
 string uid = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for uid to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final Backup.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Backup.Builder | 
        |