- 0.57.0 (latest)
- 0.55.0
- 0.54.0
- 0.52.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class BackupFile.Builder extends GeneratedMessage.Builder<BackupFile.Builder> implements BackupFileOrBuilderBackup is consisted of multiple backup files.
Protobuf type google.cloud.redis.cluster.v1.BackupFile
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BackupFile.BuilderImplements
BackupFileOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BackupFile build()| Returns | |
|---|---|
| Type | Description |
BackupFile |
|
buildPartial()
public BackupFile buildPartial()| Returns | |
|---|---|
| Type | Description |
BackupFile |
|
clear()
public BackupFile.Builder clear()| Returns | |
|---|---|
| Type | Description |
BackupFile.Builder |
|
clearCreateTime()
public BackupFile.Builder clearCreateTime()Output only. The time when the backup file was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupFile.Builder |
|
clearFileName()
public BackupFile.Builder clearFileName()Output only. e.g: <shard-id>.rdb
string file_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupFile.Builder |
This builder for chaining. |
clearSizeBytes()
public BackupFile.Builder clearSizeBytes()Output only. Size of the backup file in bytes.
int64 size_bytes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupFile.Builder |
This builder for chaining. |
getCreateTime()
public Timestamp getCreateTime()Output only. The time when the backup file was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The time when the backup file was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time when the backup file was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public BackupFile getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BackupFile |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFileName()
public String getFileName()Output only. e.g: <shard-id>.rdb
string file_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The fileName. |
getFileNameBytes()
public ByteString getFileNameBytes()Output only. e.g: <shard-id>.rdb
string file_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for fileName. |
getSizeBytes()
public long getSizeBytes()Output only. Size of the backup file in bytes.
int64 size_bytes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The sizeBytes. |
hasCreateTime()
public boolean hasCreateTime()Output only. The time when the backup file was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public BackupFile.Builder mergeCreateTime(Timestamp value)Output only. The time when the backup file was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BackupFile.Builder |
|
mergeFrom(BackupFile other)
public BackupFile.Builder mergeFrom(BackupFile other)| Parameter | |
|---|---|
| Name | Description |
other |
BackupFile |
| Returns | |
|---|---|
| Type | Description |
BackupFile.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BackupFile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupFile.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BackupFile.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BackupFile.Builder |
|
setCreateTime(Timestamp value)
public BackupFile.Builder setCreateTime(Timestamp value)Output only. The time when the backup file was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BackupFile.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public BackupFile.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The time when the backup file was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
BackupFile.Builder |
|
setFileName(String value)
public BackupFile.Builder setFileName(String value)Output only. e.g: <shard-id>.rdb
string file_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe fileName to set. |
| Returns | |
|---|---|
| Type | Description |
BackupFile.Builder |
This builder for chaining. |
setFileNameBytes(ByteString value)
public BackupFile.Builder setFileNameBytes(ByteString value)Output only. e.g: <shard-id>.rdb
string file_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for fileName to set. |
| Returns | |
|---|---|
| Type | Description |
BackupFile.Builder |
This builder for chaining. |
setSizeBytes(long value)
public BackupFile.Builder setSizeBytes(long value)Output only. Size of the backup file in bytes.
int64 size_bytes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe sizeBytes to set. |
| Returns | |
|---|---|
| Type | Description |
BackupFile.Builder |
This builder for chaining. |