public final class VolumeBackup extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
VolumeBackup.Builder
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.
|
static class |
VolumeBackup.State
The current state of a VolumeBackup
|
static class |
VolumeBackup.VolumeBackupFormat
Identifies the format used for the volume backup.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
COMPLETE_TIME_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DISK_SIZE_BYTES_FIELD_NUMBER |
static int |
ETAG_FIELD_NUMBER |
static int |
FORMAT_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SOURCE_PVC_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
STATE_MESSAGE_FIELD_NUMBER |
static int |
STORAGE_BYTES_FIELD_NUMBER |
static int |
UID_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
static int |
VOLUME_BACKUP_HANDLE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCompleteTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCompleteTimeOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static VolumeBackup |
getDefaultInstance() |
VolumeBackup |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<VolumeBackup> |
getParserForType() |
int |
getSerializedSize() |
NamespacedName |
getSourcePvc()
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.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
String |
getVolumeBackupHandle()
Output only.
|
com.google.protobuf.ByteString |
getVolumeBackupHandleBytes()
Output only.
|
boolean |
hasCompleteTime()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasSourcePvc()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static VolumeBackup.Builder |
newBuilder() |
static VolumeBackup.Builder |
newBuilder(VolumeBackup prototype) |
VolumeBackup.Builder |
newBuilderForType() |
protected VolumeBackup.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static VolumeBackup |
parseDelimitedFrom(InputStream input) |
static VolumeBackup |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VolumeBackup |
parseFrom(byte[] data) |
static VolumeBackup |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VolumeBackup |
parseFrom(ByteBuffer data) |
static VolumeBackup |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VolumeBackup |
parseFrom(com.google.protobuf.ByteString data) |
static VolumeBackup |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VolumeBackup |
parseFrom(com.google.protobuf.CodedInputStream input) |
static VolumeBackup |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VolumeBackup |
parseFrom(InputStream input) |
static VolumeBackup |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<VolumeBackup> |
parser() |
VolumeBackup.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int SOURCE_PVC_FIELD_NUMBER
public static final int VOLUME_BACKUP_HANDLE_FIELD_NUMBER
public static final int FORMAT_FIELD_NUMBER
public static final int STORAGE_BYTES_FIELD_NUMBER
public static final int DISK_SIZE_BYTES_FIELD_NUMBER
public static final int COMPLETE_TIME_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int STATE_MESSAGE_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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 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 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.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 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 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 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 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.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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static VolumeBackup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VolumeBackup parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VolumeBackup parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VolumeBackup parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VolumeBackup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VolumeBackup parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VolumeBackup parseFrom(InputStream input) throws IOException
IOExceptionpublic static VolumeBackup parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VolumeBackup parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static VolumeBackup parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VolumeBackup parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static VolumeBackup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic VolumeBackup.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static VolumeBackup.Builder newBuilder()
public static VolumeBackup.Builder newBuilder(VolumeBackup prototype)
public VolumeBackup.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected VolumeBackup.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static VolumeBackup getDefaultInstance()
public static com.google.protobuf.Parser<VolumeBackup> parser()
public com.google.protobuf.Parser<VolumeBackup> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public VolumeBackup getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.