- 0.52.0 (latest)
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.23.0
- 0.22.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.10.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.6
- 0.1.0
public static final class VolumeBackup.Builder extends GeneratedMessageV3.Builder<VolumeBackup.Builder> implements VolumeBackupOrBuilder
Represents the backup of a specific persistent volume as a component of a Backup - both the record of the operation and a pointer to the underlying storage-specific artifacts. Next id: 14
Protobuf type google.cloud.gkebackup.v1.VolumeBackup
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VolumeBackup.BuilderImplements
VolumeBackupOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VolumeBackup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VolumeBackup.Builder |
build()
public VolumeBackup build()
Type | Description |
VolumeBackup |
buildPartial()
public VolumeBackup buildPartial()
Type | Description |
VolumeBackup |
clear()
public VolumeBackup.Builder clear()
Type | Description |
VolumeBackup.Builder |
clearCompleteTime()
public VolumeBackup.Builder clearCompleteTime()
Output only. The timestamp when the associated underlying volume backup operation completed.
.google.protobuf.Timestamp complete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
VolumeBackup.Builder |
clearCreateTime()
public VolumeBackup.Builder clearCreateTime()
Output only. The timestamp when this VolumeBackup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
VolumeBackup.Builder |
clearDiskSizeBytes()
public VolumeBackup.Builder clearDiskSizeBytes()
Output only. The minimum size of the disk to which this VolumeBackup can be restored.
int64 disk_size_bytes = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
clearEtag()
public VolumeBackup.Builder clearEtag()
Output only. etag
is used for optimistic concurrency control as a way to help
prevent simultaneous updates of a volume backup from overwriting each
other. It is strongly suggested that systems make use of the etag
in the
read-modify-write cycle to perform volume backup updates in order to avoid
race conditions.
string etag = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public VolumeBackup.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
VolumeBackup.Builder |
clearFormat()
public VolumeBackup.Builder clearFormat()
Output only. The format used for the volume backup.
.google.cloud.gkebackup.v1.VolumeBackup.VolumeBackupFormat format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
clearName()
public VolumeBackup.Builder clearName()
Output only. The full name of the VolumeBackup resource. Format: projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VolumeBackup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
VolumeBackup.Builder |
clearSourcePvc()
public VolumeBackup.Builder clearSourcePvc()
Output only. A reference to the source Kubernetes PVC from which this VolumeBackup was created.
.google.cloud.gkebackup.v1.NamespacedName source_pvc = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
VolumeBackup.Builder |
clearState()
public VolumeBackup.Builder clearState()
Output only. The current state of this VolumeBackup.
.google.cloud.gkebackup.v1.VolumeBackup.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
clearStateMessage()
public VolumeBackup.Builder clearStateMessage()
Output only. A human readable message explaining why the VolumeBackup is in its current state.
string state_message = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
clearStorageBytes()
public VolumeBackup.Builder clearStorageBytes()
Output only. The aggregate size of the underlying artifacts associated with this VolumeBackup in the backup storage. This may change over time when multiple backups of the same volume share the same backup storage location. In particular, this is likely to increase in size when the immediately preceding backup of the same volume is deleted.
int64 storage_bytes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
clearUid()
public VolumeBackup.Builder clearUid()
Output only. Server generated global unique identifier of UUID format.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
clearUpdateTime()
public VolumeBackup.Builder clearUpdateTime()
Output only. The timestamp when this VolumeBackup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
VolumeBackup.Builder |
clearVolumeBackupHandle()
public VolumeBackup.Builder clearVolumeBackupHandle()
Output only. A storage system-specific opaque handle to the underlying volume backup.
string volume_backup_handle = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
clone()
public VolumeBackup.Builder clone()
Type | Description |
VolumeBackup.Builder |
getCompleteTime()
public Timestamp getCompleteTime()
Output only. The timestamp when the associated underlying volume backup operation completed.
.google.protobuf.Timestamp complete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The completeTime. |
getCompleteTimeBuilder()
public Timestamp.Builder getCompleteTimeBuilder()
Output only. The timestamp when the associated underlying volume backup operation completed.
.google.protobuf.Timestamp complete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCompleteTimeOrBuilder()
public TimestampOrBuilder getCompleteTimeOrBuilder()
Output only. The timestamp when the associated underlying volume backup operation completed.
.google.protobuf.Timestamp complete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. The timestamp when this VolumeBackup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The timestamp when this VolumeBackup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp when this VolumeBackup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public VolumeBackup getDefaultInstanceForType()
Type | Description |
VolumeBackup |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDiskSizeBytes()
public long getDiskSizeBytes()
Output only. The minimum size of the disk to which this VolumeBackup can be restored.
int64 disk_size_bytes = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
long | The diskSizeBytes. |
getEtag()
public String getEtag()
Output only. etag
is used for optimistic concurrency control as a way to help
prevent simultaneous updates of a volume backup from overwriting each
other. It is strongly suggested that systems make use of the etag
in the
read-modify-write cycle to perform volume backup updates in order to avoid
race conditions.
string etag = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The etag. |
getEtagBytes()
public ByteString getEtagBytes()
Output only. etag
is used for optimistic concurrency control as a way to help
prevent simultaneous updates of a volume backup from overwriting each
other. It is strongly suggested that systems make use of the etag
in the
read-modify-write cycle to perform volume backup updates in order to avoid
race conditions.
string etag = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for etag. |
getFormat()
public VolumeBackup.VolumeBackupFormat getFormat()
Output only. The format used for the volume backup.
.google.cloud.gkebackup.v1.VolumeBackup.VolumeBackupFormat format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
VolumeBackup.VolumeBackupFormat | The format. |
getFormatValue()
public int getFormatValue()
Output only. The format used for the volume backup.
.google.cloud.gkebackup.v1.VolumeBackup.VolumeBackupFormat format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for format. |
getName()
public String getName()
Output only. The full name of the VolumeBackup resource. Format: projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The full name of the VolumeBackup resource. Format: projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getSourcePvc()
public NamespacedName getSourcePvc()
Output only. A reference to the source Kubernetes PVC from which this VolumeBackup was created.
.google.cloud.gkebackup.v1.NamespacedName source_pvc = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
NamespacedName | The sourcePvc. |
getSourcePvcBuilder()
public NamespacedName.Builder getSourcePvcBuilder()
Output only. A reference to the source Kubernetes PVC from which this VolumeBackup was created.
.google.cloud.gkebackup.v1.NamespacedName source_pvc = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
NamespacedName.Builder |
getSourcePvcOrBuilder()
public NamespacedNameOrBuilder getSourcePvcOrBuilder()
Output only. A reference to the source Kubernetes PVC from which this VolumeBackup was created.
.google.cloud.gkebackup.v1.NamespacedName source_pvc = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
NamespacedNameOrBuilder |
getState()
public VolumeBackup.State getState()
Output only. The current state of this VolumeBackup.
.google.cloud.gkebackup.v1.VolumeBackup.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
VolumeBackup.State | The state. |
getStateMessage()
public String getStateMessage()
Output only. A human readable message explaining why the VolumeBackup is in its current state.
string state_message = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The stateMessage. |
getStateMessageBytes()
public ByteString getStateMessageBytes()
Output only. A human readable message explaining why the VolumeBackup is in its current state.
string state_message = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for stateMessage. |
getStateValue()
public int getStateValue()
Output only. The current state of this VolumeBackup.
.google.cloud.gkebackup.v1.VolumeBackup.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for state. |
getStorageBytes()
public long getStorageBytes()
Output only. The aggregate size of the underlying artifacts associated with this VolumeBackup in the backup storage. This may change over time when multiple backups of the same volume share the same backup storage location. In particular, this is likely to increase in size when the immediately preceding backup of the same volume is deleted.
int64 storage_bytes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
long | The storageBytes. |
getUid()
public String getUid()
Output only. Server generated global unique identifier of UUID format.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The uid. |
getUidBytes()
public ByteString getUidBytes()
Output only. Server generated global unique identifier of UUID format.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for uid. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The timestamp when this VolumeBackup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The timestamp when this VolumeBackup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp when this VolumeBackup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getVolumeBackupHandle()
public String getVolumeBackupHandle()
Output only. A storage system-specific opaque handle to the underlying volume backup.
string volume_backup_handle = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The volumeBackupHandle. |
getVolumeBackupHandleBytes()
public ByteString getVolumeBackupHandleBytes()
Output only. A storage system-specific opaque handle to the underlying volume backup.
string volume_backup_handle = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for volumeBackupHandle. |
hasCompleteTime()
public boolean hasCompleteTime()
Output only. The timestamp when the associated underlying volume backup operation completed.
.google.protobuf.Timestamp complete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the completeTime field is set. |
hasCreateTime()
public boolean hasCreateTime()
Output only. The timestamp when this VolumeBackup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasSourcePvc()
public boolean hasSourcePvc()
Output only. A reference to the source Kubernetes PVC from which this VolumeBackup was created.
.google.cloud.gkebackup.v1.NamespacedName source_pvc = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the sourcePvc field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The timestamp when this VolumeBackup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCompleteTime(Timestamp value)
public VolumeBackup.Builder mergeCompleteTime(Timestamp value)
Output only. The timestamp when the associated underlying volume backup operation completed.
.google.protobuf.Timestamp complete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
VolumeBackup.Builder |
mergeCreateTime(Timestamp value)
public VolumeBackup.Builder mergeCreateTime(Timestamp value)
Output only. The timestamp when this VolumeBackup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
VolumeBackup.Builder |
mergeFrom(VolumeBackup other)
public VolumeBackup.Builder mergeFrom(VolumeBackup other)
Name | Description |
other | VolumeBackup |
Type | Description |
VolumeBackup.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VolumeBackup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
VolumeBackup.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public VolumeBackup.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
VolumeBackup.Builder |
mergeSourcePvc(NamespacedName value)
public VolumeBackup.Builder mergeSourcePvc(NamespacedName value)
Output only. A reference to the source Kubernetes PVC from which this VolumeBackup was created.
.google.cloud.gkebackup.v1.NamespacedName source_pvc = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | NamespacedName |
Type | Description |
VolumeBackup.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VolumeBackup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VolumeBackup.Builder |
mergeUpdateTime(Timestamp value)
public VolumeBackup.Builder mergeUpdateTime(Timestamp value)
Output only. The timestamp when this VolumeBackup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
VolumeBackup.Builder |
setCompleteTime(Timestamp value)
public VolumeBackup.Builder setCompleteTime(Timestamp value)
Output only. The timestamp when the associated underlying volume backup operation completed.
.google.protobuf.Timestamp complete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
VolumeBackup.Builder |
setCompleteTime(Timestamp.Builder builderForValue)
public VolumeBackup.Builder setCompleteTime(Timestamp.Builder builderForValue)
Output only. The timestamp when the associated underlying volume backup operation completed.
.google.protobuf.Timestamp complete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
VolumeBackup.Builder |
setCreateTime(Timestamp value)
public VolumeBackup.Builder setCreateTime(Timestamp value)
Output only. The timestamp when this VolumeBackup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
VolumeBackup.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public VolumeBackup.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The timestamp when this VolumeBackup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
VolumeBackup.Builder |
setDiskSizeBytes(long value)
public VolumeBackup.Builder setDiskSizeBytes(long value)
Output only. The minimum size of the disk to which this VolumeBackup can be restored.
int64 disk_size_bytes = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | long The diskSizeBytes to set. |
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
setEtag(String value)
public VolumeBackup.Builder setEtag(String value)
Output only. etag
is used for optimistic concurrency control as a way to help
prevent simultaneous updates of a volume backup from overwriting each
other. It is strongly suggested that systems make use of the etag
in the
read-modify-write cycle to perform volume backup updates in order to avoid
race conditions.
string etag = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The etag to set. |
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
setEtagBytes(ByteString value)
public VolumeBackup.Builder setEtagBytes(ByteString value)
Output only. etag
is used for optimistic concurrency control as a way to help
prevent simultaneous updates of a volume backup from overwriting each
other. It is strongly suggested that systems make use of the etag
in the
read-modify-write cycle to perform volume backup updates in order to avoid
race conditions.
string etag = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for etag to set. |
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public VolumeBackup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VolumeBackup.Builder |
setFormat(VolumeBackup.VolumeBackupFormat value)
public VolumeBackup.Builder setFormat(VolumeBackup.VolumeBackupFormat value)
Output only. The format used for the volume backup.
.google.cloud.gkebackup.v1.VolumeBackup.VolumeBackupFormat format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | VolumeBackup.VolumeBackupFormat The format to set. |
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
setFormatValue(int value)
public VolumeBackup.Builder setFormatValue(int value)
Output only. The format used for the volume backup.
.google.cloud.gkebackup.v1.VolumeBackup.VolumeBackupFormat format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for format to set. |
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
setName(String value)
public VolumeBackup.Builder setName(String value)
Output only. The full name of the VolumeBackup resource. Format: projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public VolumeBackup.Builder setNameBytes(ByteString value)
Output only. The full name of the VolumeBackup resource. Format: projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VolumeBackup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
VolumeBackup.Builder |
setSourcePvc(NamespacedName value)
public VolumeBackup.Builder setSourcePvc(NamespacedName value)
Output only. A reference to the source Kubernetes PVC from which this VolumeBackup was created.
.google.cloud.gkebackup.v1.NamespacedName source_pvc = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | NamespacedName |
Type | Description |
VolumeBackup.Builder |
setSourcePvc(NamespacedName.Builder builderForValue)
public VolumeBackup.Builder setSourcePvc(NamespacedName.Builder builderForValue)
Output only. A reference to the source Kubernetes PVC from which this VolumeBackup was created.
.google.cloud.gkebackup.v1.NamespacedName source_pvc = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | NamespacedName.Builder |
Type | Description |
VolumeBackup.Builder |
setState(VolumeBackup.State value)
public VolumeBackup.Builder setState(VolumeBackup.State value)
Output only. The current state of this VolumeBackup.
.google.cloud.gkebackup.v1.VolumeBackup.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | VolumeBackup.State The state to set. |
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
setStateMessage(String value)
public VolumeBackup.Builder setStateMessage(String value)
Output only. A human readable message explaining why the VolumeBackup is in its current state.
string state_message = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The stateMessage to set. |
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
setStateMessageBytes(ByteString value)
public VolumeBackup.Builder setStateMessageBytes(ByteString value)
Output only. A human readable message explaining why the VolumeBackup is in its current state.
string state_message = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for stateMessage to set. |
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
setStateValue(int value)
public VolumeBackup.Builder setStateValue(int value)
Output only. The current state of this VolumeBackup.
.google.cloud.gkebackup.v1.VolumeBackup.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
setStorageBytes(long value)
public VolumeBackup.Builder setStorageBytes(long value)
Output only. The aggregate size of the underlying artifacts associated with this VolumeBackup in the backup storage. This may change over time when multiple backups of the same volume share the same backup storage location. In particular, this is likely to increase in size when the immediately preceding backup of the same volume is deleted.
int64 storage_bytes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | long The storageBytes to set. |
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
setUid(String value)
public VolumeBackup.Builder setUid(String value)
Output only. Server generated global unique identifier of UUID format.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The uid to set. |
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
setUidBytes(ByteString value)
public VolumeBackup.Builder setUidBytes(ByteString value)
Output only. Server generated global unique identifier of UUID format.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for uid to set. |
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final VolumeBackup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VolumeBackup.Builder |
setUpdateTime(Timestamp value)
public VolumeBackup.Builder setUpdateTime(Timestamp value)
Output only. The timestamp when this VolumeBackup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
VolumeBackup.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public VolumeBackup.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The timestamp when this VolumeBackup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
VolumeBackup.Builder |
setVolumeBackupHandle(String value)
public VolumeBackup.Builder setVolumeBackupHandle(String value)
Output only. A storage system-specific opaque handle to the underlying volume backup.
string volume_backup_handle = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The volumeBackupHandle to set. |
Type | Description |
VolumeBackup.Builder | This builder for chaining. |
setVolumeBackupHandleBytes(ByteString value)
public VolumeBackup.Builder setVolumeBackupHandleBytes(ByteString value)
Output only. A storage system-specific opaque handle to the underlying volume backup.
string volume_backup_handle = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for volumeBackupHandle to set. |
Type | Description |
VolumeBackup.Builder | This builder for chaining. |