public static final class VolumeBackup.Builder extends com.google.protobuf.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: 14Protobuf type
google.cloud.gkebackup.v1.VolumeBackup| Modifier and Type | Method and Description |
|---|---|
VolumeBackup.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VolumeBackup |
build() |
VolumeBackup |
buildPartial() |
VolumeBackup.Builder |
clear() |
VolumeBackup.Builder |
clearCompleteTime()
Output only.
|
VolumeBackup.Builder |
clearCreateTime()
Output only.
|
VolumeBackup.Builder |
clearDiskSizeBytes()
Output only.
|
VolumeBackup.Builder |
clearEtag()
Output only.
|
VolumeBackup.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
VolumeBackup.Builder |
clearFormat()
Output only.
|
VolumeBackup.Builder |
clearName()
Output only.
|
VolumeBackup.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
VolumeBackup.Builder |
clearSourcePvc()
Output only.
|
VolumeBackup.Builder |
clearState()
Output only.
|
VolumeBackup.Builder |
clearStateMessage()
Output only.
|
VolumeBackup.Builder |
clearStorageBytes()
Output only.
|
VolumeBackup.Builder |
clearUid()
Output only.
|
VolumeBackup.Builder |
clearUpdateTime()
Output only.
|
VolumeBackup.Builder |
clearVolumeBackupHandle()
Output only.
|
VolumeBackup.Builder |
clone() |
com.google.protobuf.Timestamp |
getCompleteTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCompleteTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCompleteTimeOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
VolumeBackup |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getDiskSizeBytes()
Output only.
|
String |
getEtag()
Output only.
|
com.google.protobuf.ByteString |
getEtagBytes()
Output only.
|
VolumeBackup.VolumeBackupFormat |
getFormat()
Output only.
|
int |
getFormatValue()
Output only.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
NamespacedName |
getSourcePvc()
Output only.
|
NamespacedName.Builder |
getSourcePvcBuilder()
Output only.
|
NamespacedNameOrBuilder |
getSourcePvcOrBuilder()
Output only.
|
VolumeBackup.State |
getState()
Output only.
|
String |
getStateMessage()
Output only.
|
com.google.protobuf.ByteString |
getStateMessageBytes()
Output only.
|
int |
getStateValue()
Output only.
|
long |
getStorageBytes()
Output only.
|
String |
getUid()
Output only.
|
com.google.protobuf.ByteString |
getUidBytes()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
String |
getVolumeBackupHandle()
Output only.
|
com.google.protobuf.ByteString |
getVolumeBackupHandleBytes()
Output only.
|
boolean |
hasCompleteTime()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasSourcePvc()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
VolumeBackup.Builder |
mergeCompleteTime(com.google.protobuf.Timestamp value)
Output only.
|
VolumeBackup.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
VolumeBackup.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
VolumeBackup.Builder |
mergeFrom(com.google.protobuf.Message other) |
VolumeBackup.Builder |
mergeFrom(VolumeBackup other) |
VolumeBackup.Builder |
mergeSourcePvc(NamespacedName value)
Output only.
|
VolumeBackup.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
VolumeBackup.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
VolumeBackup.Builder |
setCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
VolumeBackup.Builder |
setCompleteTime(com.google.protobuf.Timestamp value)
Output only.
|
VolumeBackup.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
VolumeBackup.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
VolumeBackup.Builder |
setDiskSizeBytes(long value)
Output only.
|
VolumeBackup.Builder |
setEtag(String value)
Output only.
|
VolumeBackup.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
Output only.
|
VolumeBackup.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VolumeBackup.Builder |
setFormat(VolumeBackup.VolumeBackupFormat value)
Output only.
|
VolumeBackup.Builder |
setFormatValue(int value)
Output only.
|
VolumeBackup.Builder |
setName(String value)
Output only.
|
VolumeBackup.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
VolumeBackup.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
VolumeBackup.Builder |
setSourcePvc(NamespacedName.Builder builderForValue)
Output only.
|
VolumeBackup.Builder |
setSourcePvc(NamespacedName value)
Output only.
|
VolumeBackup.Builder |
setState(VolumeBackup.State value)
Output only.
|
VolumeBackup.Builder |
setStateMessage(String value)
Output only.
|
VolumeBackup.Builder |
setStateMessageBytes(com.google.protobuf.ByteString value)
Output only.
|
VolumeBackup.Builder |
setStateValue(int value)
Output only.
|
VolumeBackup.Builder |
setStorageBytes(long value)
Output only.
|
VolumeBackup.Builder |
setUid(String value)
Output only.
|
VolumeBackup.Builder |
setUidBytes(com.google.protobuf.ByteString value)
Output only.
|
VolumeBackup.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
VolumeBackup.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
VolumeBackup.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
VolumeBackup.Builder |
setVolumeBackupHandle(String value)
Output only.
|
VolumeBackup.Builder |
setVolumeBackupHandleBytes(com.google.protobuf.ByteString value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<VolumeBackup.Builder>public VolumeBackup.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<VolumeBackup.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<VolumeBackup.Builder>public VolumeBackup getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic VolumeBackup build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic VolumeBackup buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic VolumeBackup.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<VolumeBackup.Builder>public VolumeBackup.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<VolumeBackup.Builder>public VolumeBackup.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<VolumeBackup.Builder>public VolumeBackup.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<VolumeBackup.Builder>public VolumeBackup.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VolumeBackup.Builder>public VolumeBackup.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VolumeBackup.Builder>public VolumeBackup.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VolumeBackup.Builder>public VolumeBackup.Builder mergeFrom(VolumeBackup other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<VolumeBackup.Builder>public VolumeBackup.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VolumeBackup.Builder>IOExceptionpublic 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];getName in interface VolumeBackupOrBuilderpublic com.google.protobuf.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];getNameBytes in interface VolumeBackupOrBuilderpublic 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];value - The name to set.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];public VolumeBackup.Builder setNameBytes(com.google.protobuf.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];value - The bytes for name to set.public String getUid()
Output only. Server generated global unique identifier of [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getUid in interface VolumeBackupOrBuilderpublic com.google.protobuf.ByteString getUidBytes()
Output only. Server generated global unique identifier of [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getUidBytes in interface VolumeBackupOrBuilderpublic VolumeBackup.Builder setUid(String value)
Output only. Server generated global unique identifier of [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The uid to set.public VolumeBackup.Builder clearUid()
Output only. Server generated global unique identifier of [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public VolumeBackup.Builder setUidBytes(com.google.protobuf.ByteString value)
Output only. Server generated global unique identifier of [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for uid to set.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];
hasCreateTime in interface VolumeBackupOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The timestamp when this VolumeBackup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface VolumeBackupOrBuilderpublic VolumeBackup.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when this VolumeBackup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public VolumeBackup.Builder setCreateTime(com.google.protobuf.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];
public VolumeBackup.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when this VolumeBackup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
public com.google.protobuf.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];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp when this VolumeBackup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface VolumeBackupOrBuilderpublic 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];
hasUpdateTime in interface VolumeBackupOrBuilderpublic com.google.protobuf.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];
getUpdateTime in interface VolumeBackupOrBuilderpublic VolumeBackup.Builder setUpdateTime(com.google.protobuf.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];
public VolumeBackup.Builder setUpdateTime(com.google.protobuf.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];
public VolumeBackup.Builder mergeUpdateTime(com.google.protobuf.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];
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];
public com.google.protobuf.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];
public com.google.protobuf.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];
getUpdateTimeOrBuilder in interface VolumeBackupOrBuilderpublic 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];
hasSourcePvc in interface VolumeBackupOrBuilderpublic 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];
getSourcePvc in interface VolumeBackupOrBuilderpublic 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];
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];
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];
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];
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];
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];
getSourcePvcOrBuilder in interface VolumeBackupOrBuilderpublic 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];getVolumeBackupHandle in interface VolumeBackupOrBuilderpublic com.google.protobuf.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];getVolumeBackupHandleBytes in interface VolumeBackupOrBuilderpublic 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];value - The volumeBackupHandle to set.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];public VolumeBackup.Builder setVolumeBackupHandleBytes(com.google.protobuf.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];value - The bytes for volumeBackupHandle to set.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];
getFormatValue in interface VolumeBackupOrBuilderpublic 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];
value - The enum numeric value on the wire for format to set.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];
getFormat in interface VolumeBackupOrBuilderpublic 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];
value - The format to set.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];
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];getStorageBytes in interface VolumeBackupOrBuilderpublic 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];value - The storageBytes to set.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];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];getDiskSizeBytes in interface VolumeBackupOrBuilderpublic 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];value - The diskSizeBytes to set.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];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];
hasCompleteTime in interface VolumeBackupOrBuilderpublic com.google.protobuf.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];
getCompleteTime in interface VolumeBackupOrBuilderpublic VolumeBackup.Builder setCompleteTime(com.google.protobuf.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];
public VolumeBackup.Builder setCompleteTime(com.google.protobuf.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];
public VolumeBackup.Builder mergeCompleteTime(com.google.protobuf.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];
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];
public com.google.protobuf.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];
public com.google.protobuf.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];
getCompleteTimeOrBuilder in interface VolumeBackupOrBuilderpublic int getStateValue()
Output only. The current state of this VolumeBackup.
.google.cloud.gkebackup.v1.VolumeBackup.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface VolumeBackupOrBuilderpublic 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];
value - The enum numeric value on the wire for state to set.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];
getState in interface VolumeBackupOrBuilderpublic 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];
value - The state to set.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];
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];getStateMessage in interface VolumeBackupOrBuilderpublic com.google.protobuf.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];getStateMessageBytes in interface VolumeBackupOrBuilderpublic 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];value - The stateMessage to set.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];public VolumeBackup.Builder setStateMessageBytes(com.google.protobuf.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];value - The bytes for stateMessage to set.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];getEtag in interface VolumeBackupOrBuilderpublic com.google.protobuf.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];getEtagBytes in interface VolumeBackupOrBuilderpublic 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];value - The etag to set.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];public VolumeBackup.Builder setEtagBytes(com.google.protobuf.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];value - The bytes for etag to set.public final VolumeBackup.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VolumeBackup.Builder>public final VolumeBackup.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VolumeBackup.Builder>Copyright © 2023 Google LLC. All rights reserved.