public final class VolumeRestore extends com.google.protobuf.GeneratedMessageV3 implements VolumeRestoreOrBuilder
Represents the operation of restoring a volume from a VolumeBackup. Next id: 13Protobuf type
google.cloud.gkebackup.v1.VolumeRestore| Modifier and Type | Class and Description |
|---|---|
static class |
VolumeRestore.Builder
Represents the operation of restoring a volume from a VolumeBackup.
|
static class |
VolumeRestore.State
The current state of a VolumeRestore
|
static class |
VolumeRestore.VolumeType
Supported volume types.
|
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 |
ETAG_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
STATE_MESSAGE_FIELD_NUMBER |
static int |
TARGET_PVC_FIELD_NUMBER |
static int |
UID_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
static int |
VOLUME_BACKUP_FIELD_NUMBER |
static int |
VOLUME_HANDLE_FIELD_NUMBER |
static int |
VOLUME_TYPE_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 VolumeRestore |
getDefaultInstance() |
VolumeRestore |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEtag()
Output only.
|
com.google.protobuf.ByteString |
getEtagBytes()
Output only.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Parser<VolumeRestore> |
getParserForType() |
int |
getSerializedSize() |
VolumeRestore.State |
getState()
Output only.
|
String |
getStateMessage()
Output only.
|
com.google.protobuf.ByteString |
getStateMessageBytes()
Output only.
|
int |
getStateValue()
Output only.
|
NamespacedName |
getTargetPvc()
Output only.
|
NamespacedNameOrBuilder |
getTargetPvcOrBuilder()
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 |
getVolumeBackup()
Output only.
|
com.google.protobuf.ByteString |
getVolumeBackupBytes()
Output only.
|
String |
getVolumeHandle()
Output only.
|
com.google.protobuf.ByteString |
getVolumeHandleBytes()
Output only.
|
VolumeRestore.VolumeType |
getVolumeType()
Output only.
|
int |
getVolumeTypeValue()
Output only.
|
boolean |
hasCompleteTime()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasTargetPvc()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static VolumeRestore.Builder |
newBuilder() |
static VolumeRestore.Builder |
newBuilder(VolumeRestore prototype) |
VolumeRestore.Builder |
newBuilderForType() |
protected VolumeRestore.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static VolumeRestore |
parseDelimitedFrom(InputStream input) |
static VolumeRestore |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VolumeRestore |
parseFrom(byte[] data) |
static VolumeRestore |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VolumeRestore |
parseFrom(ByteBuffer data) |
static VolumeRestore |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VolumeRestore |
parseFrom(com.google.protobuf.ByteString data) |
static VolumeRestore |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VolumeRestore |
parseFrom(com.google.protobuf.CodedInputStream input) |
static VolumeRestore |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VolumeRestore |
parseFrom(InputStream input) |
static VolumeRestore |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<VolumeRestore> |
parser() |
VolumeRestore.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 VOLUME_BACKUP_FIELD_NUMBER
public static final int TARGET_PVC_FIELD_NUMBER
public static final int VOLUME_HANDLE_FIELD_NUMBER
public static final int VOLUME_TYPE_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. Full name of the VolumeRestore resource. Format: `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface VolumeRestoreOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. Full name of the VolumeRestore resource. Format: `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface VolumeRestoreOrBuilderpublic 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 VolumeRestoreOrBuilderpublic 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 VolumeRestoreOrBuilderpublic boolean hasCreateTime()
Output only. The timestamp when this VolumeRestore resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface VolumeRestoreOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The timestamp when this VolumeRestore resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface VolumeRestoreOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp when this VolumeRestore resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface VolumeRestoreOrBuilderpublic boolean hasUpdateTime()
Output only. The timestamp when this VolumeRestore resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface VolumeRestoreOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The timestamp when this VolumeRestore resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface VolumeRestoreOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp when this VolumeRestore resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface VolumeRestoreOrBuilderpublic String getVolumeBackup()
Output only. The full name of the VolumeBackup from which the volume will be restored. Format: `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`.
string volume_backup = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getVolumeBackup in interface VolumeRestoreOrBuilderpublic com.google.protobuf.ByteString getVolumeBackupBytes()
Output only. The full name of the VolumeBackup from which the volume will be restored. Format: `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`.
string volume_backup = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getVolumeBackupBytes in interface VolumeRestoreOrBuilderpublic boolean hasTargetPvc()
Output only. The reference to the target Kubernetes PVC to be restored.
.google.cloud.gkebackup.v1.NamespacedName target_pvc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasTargetPvc in interface VolumeRestoreOrBuilderpublic NamespacedName getTargetPvc()
Output only. The reference to the target Kubernetes PVC to be restored.
.google.cloud.gkebackup.v1.NamespacedName target_pvc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTargetPvc in interface VolumeRestoreOrBuilderpublic NamespacedNameOrBuilder getTargetPvcOrBuilder()
Output only. The reference to the target Kubernetes PVC to be restored.
.google.cloud.gkebackup.v1.NamespacedName target_pvc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTargetPvcOrBuilder in interface VolumeRestoreOrBuilderpublic String getVolumeHandle()
Output only. A storage system-specific opaque handler to the underlying volume created for the target PVC from the volume backup.
string volume_handle = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getVolumeHandle in interface VolumeRestoreOrBuilderpublic com.google.protobuf.ByteString getVolumeHandleBytes()
Output only. A storage system-specific opaque handler to the underlying volume created for the target PVC from the volume backup.
string volume_handle = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getVolumeHandleBytes in interface VolumeRestoreOrBuilderpublic int getVolumeTypeValue()
Output only. The type of volume provisioned
.google.cloud.gkebackup.v1.VolumeRestore.VolumeType volume_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getVolumeTypeValue in interface VolumeRestoreOrBuilderpublic VolumeRestore.VolumeType getVolumeType()
Output only. The type of volume provisioned
.google.cloud.gkebackup.v1.VolumeRestore.VolumeType volume_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getVolumeType in interface VolumeRestoreOrBuilderpublic boolean hasCompleteTime()
Output only. The timestamp when the associated underlying volume restoration completed.
.google.protobuf.Timestamp complete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCompleteTime in interface VolumeRestoreOrBuilderpublic com.google.protobuf.Timestamp getCompleteTime()
Output only. The timestamp when the associated underlying volume restoration completed.
.google.protobuf.Timestamp complete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCompleteTime in interface VolumeRestoreOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCompleteTimeOrBuilder()
Output only. The timestamp when the associated underlying volume restoration completed.
.google.protobuf.Timestamp complete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCompleteTimeOrBuilder in interface VolumeRestoreOrBuilderpublic int getStateValue()
Output only. The current state of this VolumeRestore.
.google.cloud.gkebackup.v1.VolumeRestore.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface VolumeRestoreOrBuilderpublic VolumeRestore.State getState()
Output only. The current state of this VolumeRestore.
.google.cloud.gkebackup.v1.VolumeRestore.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface VolumeRestoreOrBuilderpublic String getStateMessage()
Output only. A human readable message explaining why the VolumeRestore is in its current state.
string state_message = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];getStateMessage in interface VolumeRestoreOrBuilderpublic com.google.protobuf.ByteString getStateMessageBytes()
Output only. A human readable message explaining why the VolumeRestore is in its current state.
string state_message = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];getStateMessageBytes in interface VolumeRestoreOrBuilderpublic String getEtag()
Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a volume restore from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform volume restore updates in order to avoid race conditions.
string etag = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];getEtag in interface VolumeRestoreOrBuilderpublic 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 restore from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform volume restore updates in order to avoid race conditions.
string etag = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];getEtagBytes in interface VolumeRestoreOrBuilderpublic 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 VolumeRestore parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VolumeRestore parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VolumeRestore parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VolumeRestore parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VolumeRestore parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VolumeRestore parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VolumeRestore parseFrom(InputStream input) throws IOException
IOExceptionpublic static VolumeRestore parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VolumeRestore parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static VolumeRestore parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VolumeRestore parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static VolumeRestore parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic VolumeRestore.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static VolumeRestore.Builder newBuilder()
public static VolumeRestore.Builder newBuilder(VolumeRestore prototype)
public VolumeRestore.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected VolumeRestore.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static VolumeRestore getDefaultInstance()
public static com.google.protobuf.Parser<VolumeRestore> parser()
public com.google.protobuf.Parser<VolumeRestore> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public VolumeRestore getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.