Package com.google.cloud.gkebackup.v1
Class VolumeBackup.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VolumeBackup.Builder>
com.google.cloud.gkebackup.v1.VolumeBackup.Builder
- All Implemented Interfaces:
VolumeBackupOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VolumeBackup
public static final class VolumeBackup.Builder
extends com.google.protobuf.GeneratedMessage.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.Protobuf type
google.cloud.gkebackup.v1.VolumeBackup-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.clearUid()Output only.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongOutput only.getEtag()Output only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.Output only.Output only.Output only.getState()Output only.Output only.com.google.protobuf.ByteStringOutput only.intOutput only.longOutput only.getUid()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCompleteTime(com.google.protobuf.Timestamp value) Output only.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(VolumeBackup other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeSourcePvc(NamespacedName value) Output only.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.setCompleteTime(com.google.protobuf.Timestamp value) Output only.setCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDiskSizeBytes(long value) Output only.Output only.setEtagBytes(com.google.protobuf.ByteString value) Output only.Output only.setFormatValue(int value) Output only.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setSatisfiesPzi(boolean value) Output only.setSatisfiesPzs(boolean value) Output only.setSourcePvc(NamespacedName value) Output only.setSourcePvc(NamespacedName.Builder builderForValue) Output only.setState(VolumeBackup.State value) Output only.setStateMessage(String value) Output only.setStateMessageBytes(com.google.protobuf.ByteString value) Output only.setStateValue(int value) Output only.setStorageBytes(long value) Output only.Output only.setUidBytes(com.google.protobuf.ByteString value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setVolumeBackupHandle(String value) Output only.setVolumeBackupHandleBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<VolumeBackup.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<VolumeBackup.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<VolumeBackup.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VolumeBackup.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<VolumeBackup.Builder>
-
mergeFrom
public VolumeBackup.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VolumeBackup.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceVolumeBackupOrBuilder- Returns:
- The name.
-
getNameBytes
public 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];- Specified by:
getNameBytesin interfaceVolumeBackupOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. The full name of the VolumeBackup resource. Format: `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setNameBytes
Output only. The full name of the VolumeBackup resource. Format: `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getUidin interfaceVolumeBackupOrBuilder- Returns:
- The uid.
-
getUidBytes
public 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];- Specified by:
getUidBytesin interfaceVolumeBackupOrBuilder- Returns:
- The bytes for uid.
-
setUid
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];- Parameters:
value- The uid to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setUidBytes
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];- Parameters:
value- The bytes for uid to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasCreateTimein interfaceVolumeBackupOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];- Specified by:
getCreateTimein interfaceVolumeBackupOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The timestamp when this VolumeBackup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The timestamp when this VolumeBackup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The timestamp when this VolumeBackup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The timestamp when this VolumeBackup resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
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]; -
getCreateTimeOrBuilder
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];- Specified by:
getCreateTimeOrBuilderin interfaceVolumeBackupOrBuilder
-
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];- Specified by:
hasUpdateTimein interfaceVolumeBackupOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfaceVolumeBackupOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The timestamp when this VolumeBackup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The timestamp when this VolumeBackup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The timestamp when this VolumeBackup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The timestamp when this VolumeBackup resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
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]; -
getUpdateTimeOrBuilder
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];- Specified by:
getUpdateTimeOrBuilderin interfaceVolumeBackupOrBuilder
-
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];- Specified by:
hasSourcePvcin interfaceVolumeBackupOrBuilder- Returns:
- Whether the sourcePvc field is set.
-
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];- Specified by:
getSourcePvcin interfaceVolumeBackupOrBuilder- Returns:
- The sourcePvc.
-
setSourcePvc
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]; -
setSourcePvc
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]; -
mergeSourcePvc
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]; -
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]; -
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]; -
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];- Specified by:
getSourcePvcOrBuilderin interfaceVolumeBackupOrBuilder
-
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];- Specified by:
getVolumeBackupHandlein interfaceVolumeBackupOrBuilder- Returns:
- The volumeBackupHandle.
-
getVolumeBackupHandleBytes
public 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];- Specified by:
getVolumeBackupHandleBytesin interfaceVolumeBackupOrBuilder- Returns:
- The bytes for volumeBackupHandle.
-
setVolumeBackupHandle
Output only. A storage system-specific opaque handle to the underlying volume backup.
string volume_backup_handle = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The volumeBackupHandle to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setVolumeBackupHandleBytes
Output only. A storage system-specific opaque handle to the underlying volume backup.
string volume_backup_handle = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for volumeBackupHandle to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getFormatValuein interfaceVolumeBackupOrBuilder- Returns:
- The enum numeric value on the wire for format.
-
setFormatValue
Output only. The format used for the volume backup.
.google.cloud.gkebackup.v1.VolumeBackup.VolumeBackupFormat format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for format to set.- Returns:
- This builder for chaining.
-
getFormat
Output only. The format used for the volume backup.
.google.cloud.gkebackup.v1.VolumeBackup.VolumeBackupFormat format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFormatin interfaceVolumeBackupOrBuilder- Returns:
- The format.
-
setFormat
Output only. The format used for the volume backup.
.google.cloud.gkebackup.v1.VolumeBackup.VolumeBackupFormat format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The format to set.- Returns:
- This builder for chaining.
-
clearFormat
Output only. The format used for the volume backup.
.google.cloud.gkebackup.v1.VolumeBackup.VolumeBackupFormat format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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];- Specified by:
getStorageBytesin interfaceVolumeBackupOrBuilder- Returns:
- The storageBytes.
-
setStorageBytes
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];- Parameters:
value- The storageBytes to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
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];- Specified by:
getDiskSizeBytesin interfaceVolumeBackupOrBuilder- Returns:
- The diskSizeBytes.
-
setDiskSizeBytes
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];- Parameters:
value- The diskSizeBytes to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
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];- Specified by:
hasCompleteTimein interfaceVolumeBackupOrBuilder- Returns:
- Whether the completeTime field is set.
-
getCompleteTime
public 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];- Specified by:
getCompleteTimein interfaceVolumeBackupOrBuilder- Returns:
- The completeTime.
-
setCompleteTime
Output only. The timestamp when the associated underlying volume backup operation completed.
.google.protobuf.Timestamp complete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCompleteTime
Output only. The timestamp when the associated underlying volume backup operation completed.
.google.protobuf.Timestamp complete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCompleteTime
Output only. The timestamp when the associated underlying volume backup operation completed.
.google.protobuf.Timestamp complete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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]; -
getCompleteTimeBuilder
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]; -
getCompleteTimeOrBuilder
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];- Specified by:
getCompleteTimeOrBuilderin interfaceVolumeBackupOrBuilder
-
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];- Specified by:
getStateValuein interfaceVolumeBackupOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. The current state of this VolumeBackup.
.google.cloud.gkebackup.v1.VolumeBackup.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. The current state of this VolumeBackup.
.google.cloud.gkebackup.v1.VolumeBackup.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceVolumeBackupOrBuilder- Returns:
- The state.
-
setState
Output only. The current state of this VolumeBackup.
.google.cloud.gkebackup.v1.VolumeBackup.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. The current state of this VolumeBackup.
.google.cloud.gkebackup.v1.VolumeBackup.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getStateMessage
Output only. A human readable message explaining why the VolumeBackup is in its current state. This field is only meant for human consumption and should not be used programmatically as this field is not guaranteed to be consistent.
string state_message = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateMessagein interfaceVolumeBackupOrBuilder- Returns:
- The stateMessage.
-
getStateMessageBytes
public com.google.protobuf.ByteString getStateMessageBytes()Output only. A human readable message explaining why the VolumeBackup is in its current state. This field is only meant for human consumption and should not be used programmatically as this field is not guaranteed to be consistent.
string state_message = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateMessageBytesin interfaceVolumeBackupOrBuilder- Returns:
- The bytes for stateMessage.
-
setStateMessage
Output only. A human readable message explaining why the VolumeBackup is in its current state. This field is only meant for human consumption and should not be used programmatically as this field is not guaranteed to be consistent.
string state_message = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The stateMessage to set.- Returns:
- This builder for chaining.
-
clearStateMessage
Output only. A human readable message explaining why the VolumeBackup is in its current state. This field is only meant for human consumption and should not be used programmatically as this field is not guaranteed to be consistent.
string state_message = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setStateMessageBytes
Output only. A human readable message explaining why the VolumeBackup is in its current state. This field is only meant for human consumption and should not be used programmatically as this field is not guaranteed to be consistent.
string state_message = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for stateMessage to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getEtagin interfaceVolumeBackupOrBuilder- Returns:
- The etag.
-
getEtagBytes
public 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];- Specified by:
getEtagBytesin interfaceVolumeBackupOrBuilder- Returns:
- The bytes for etag.
-
setEtag
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];- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setEtagBytes
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];- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-
getSatisfiesPzs
public boolean getSatisfiesPzs()Output only. [Output Only] Reserved for future use.
bool satisfies_pzs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPzsin interfaceVolumeBackupOrBuilder- Returns:
- The satisfiesPzs.
-
setSatisfiesPzs
Output only. [Output Only] Reserved for future use.
bool satisfies_pzs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The satisfiesPzs to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzs
Output only. [Output Only] Reserved for future use.
bool satisfies_pzs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getSatisfiesPzi
public boolean getSatisfiesPzi()Output only. [Output Only] Reserved for future use.
bool satisfies_pzi = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPziin interfaceVolumeBackupOrBuilder- Returns:
- The satisfiesPzi.
-
setSatisfiesPzi
Output only. [Output Only] Reserved for future use.
bool satisfies_pzi = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The satisfiesPzi to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzi
Output only. [Output Only] Reserved for future use.
bool satisfies_pzi = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-