public static final class VolumeRestore.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VolumeRestore.Builder> implements VolumeRestoreOrBuilder
Represents the operation of restoring a volume from a VolumeBackup. Next id: 13Protobuf type
google.cloud.gkebackup.v1.VolumeRestore| Modifier and Type | Method and Description |
|---|---|
VolumeRestore.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VolumeRestore |
build() |
VolumeRestore |
buildPartial() |
VolumeRestore.Builder |
clear() |
VolumeRestore.Builder |
clearCompleteTime()
Output only.
|
VolumeRestore.Builder |
clearCreateTime()
Output only.
|
VolumeRestore.Builder |
clearEtag()
Output only.
|
VolumeRestore.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
VolumeRestore.Builder |
clearName()
Output only.
|
VolumeRestore.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
VolumeRestore.Builder |
clearState()
Output only.
|
VolumeRestore.Builder |
clearStateMessage()
Output only.
|
VolumeRestore.Builder |
clearTargetPvc()
Output only.
|
VolumeRestore.Builder |
clearUid()
Output only.
|
VolumeRestore.Builder |
clearUpdateTime()
Output only.
|
VolumeRestore.Builder |
clearVolumeBackup()
Output only.
|
VolumeRestore.Builder |
clearVolumeHandle()
Output only.
|
VolumeRestore.Builder |
clearVolumeType()
Output only.
|
VolumeRestore.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.
|
VolumeRestore |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEtag()
Output only.
|
com.google.protobuf.ByteString |
getEtagBytes()
Output only.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
VolumeRestore.State |
getState()
Output only.
|
String |
getStateMessage()
Output only.
|
com.google.protobuf.ByteString |
getStateMessageBytes()
Output only.
|
int |
getStateValue()
Output only.
|
NamespacedName |
getTargetPvc()
Output only.
|
NamespacedName.Builder |
getTargetPvcBuilder()
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.Timestamp.Builder |
getUpdateTimeBuilder()
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.
|
boolean |
hasTargetPvc()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
VolumeRestore.Builder |
mergeCompleteTime(com.google.protobuf.Timestamp value)
Output only.
|
VolumeRestore.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
VolumeRestore.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
VolumeRestore.Builder |
mergeFrom(com.google.protobuf.Message other) |
VolumeRestore.Builder |
mergeFrom(VolumeRestore other) |
VolumeRestore.Builder |
mergeTargetPvc(NamespacedName value)
Output only.
|
VolumeRestore.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
VolumeRestore.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
VolumeRestore.Builder |
setCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
VolumeRestore.Builder |
setCompleteTime(com.google.protobuf.Timestamp value)
Output only.
|
VolumeRestore.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
VolumeRestore.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
VolumeRestore.Builder |
setEtag(String value)
Output only.
|
VolumeRestore.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
Output only.
|
VolumeRestore.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VolumeRestore.Builder |
setName(String value)
Output only.
|
VolumeRestore.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
VolumeRestore.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
VolumeRestore.Builder |
setState(VolumeRestore.State value)
Output only.
|
VolumeRestore.Builder |
setStateMessage(String value)
Output only.
|
VolumeRestore.Builder |
setStateMessageBytes(com.google.protobuf.ByteString value)
Output only.
|
VolumeRestore.Builder |
setStateValue(int value)
Output only.
|
VolumeRestore.Builder |
setTargetPvc(NamespacedName.Builder builderForValue)
Output only.
|
VolumeRestore.Builder |
setTargetPvc(NamespacedName value)
Output only.
|
VolumeRestore.Builder |
setUid(String value)
Output only.
|
VolumeRestore.Builder |
setUidBytes(com.google.protobuf.ByteString value)
Output only.
|
VolumeRestore.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
VolumeRestore.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
VolumeRestore.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
VolumeRestore.Builder |
setVolumeBackup(String value)
Output only.
|
VolumeRestore.Builder |
setVolumeBackupBytes(com.google.protobuf.ByteString value)
Output only.
|
VolumeRestore.Builder |
setVolumeHandle(String value)
Output only.
|
VolumeRestore.Builder |
setVolumeHandleBytes(com.google.protobuf.ByteString value)
Output only.
|
VolumeRestore.Builder |
setVolumeType(VolumeRestore.VolumeType value)
Output only.
|
VolumeRestore.Builder |
setVolumeTypeValue(int 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<VolumeRestore.Builder>public VolumeRestore.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<VolumeRestore.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<VolumeRestore.Builder>public VolumeRestore getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic VolumeRestore build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic VolumeRestore buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic VolumeRestore.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<VolumeRestore.Builder>public VolumeRestore.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<VolumeRestore.Builder>public VolumeRestore.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<VolumeRestore.Builder>public VolumeRestore.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<VolumeRestore.Builder>public VolumeRestore.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<VolumeRestore.Builder>public VolumeRestore.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<VolumeRestore.Builder>public VolumeRestore.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VolumeRestore.Builder>public VolumeRestore.Builder mergeFrom(VolumeRestore other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<VolumeRestore.Builder>public VolumeRestore.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<VolumeRestore.Builder>IOExceptionpublic 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 VolumeRestore.Builder setName(String value)
Output only. Full name of the VolumeRestore resource. Format: `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public VolumeRestore.Builder clearName()
Output only. Full name of the VolumeRestore resource. Format: `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public VolumeRestore.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. Full name of the VolumeRestore resource. Format: `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*`
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 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 VolumeRestore.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 VolumeRestore.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 VolumeRestore.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 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 VolumeRestore.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when this VolumeRestore resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public VolumeRestore.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp when this VolumeRestore resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public VolumeRestore.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when this VolumeRestore resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public VolumeRestore.Builder clearCreateTime()
Output only. The timestamp when this VolumeRestore 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 VolumeRestore 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 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 VolumeRestore.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when this VolumeRestore resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public VolumeRestore.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp when this VolumeRestore resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public VolumeRestore.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when this VolumeRestore resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public VolumeRestore.Builder clearUpdateTime()
Output only. The timestamp when this VolumeRestore 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 VolumeRestore 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 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 VolumeRestore.Builder setVolumeBackup(String value)
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];value - The volumeBackup to set.public VolumeRestore.Builder clearVolumeBackup()
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];public VolumeRestore.Builder setVolumeBackupBytes(com.google.protobuf.ByteString value)
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];value - The bytes for volumeBackup to set.public 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 VolumeRestore.Builder setTargetPvc(NamespacedName value)
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];
public VolumeRestore.Builder setTargetPvc(NamespacedName.Builder builderForValue)
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];
public VolumeRestore.Builder mergeTargetPvc(NamespacedName value)
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];
public VolumeRestore.Builder clearTargetPvc()
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];
public NamespacedName.Builder getTargetPvcBuilder()
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];
public 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 VolumeRestore.Builder setVolumeHandle(String value)
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];value - The volumeHandle to set.public VolumeRestore.Builder clearVolumeHandle()
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];public VolumeRestore.Builder setVolumeHandleBytes(com.google.protobuf.ByteString value)
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];value - The bytes for volumeHandle to set.public 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.Builder setVolumeTypeValue(int value)
Output only. The type of volume provisioned
.google.cloud.gkebackup.v1.VolumeRestore.VolumeType volume_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for volumeType to set.public 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 VolumeRestore.Builder setVolumeType(VolumeRestore.VolumeType value)
Output only. The type of volume provisioned
.google.cloud.gkebackup.v1.VolumeRestore.VolumeType volume_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The volumeType to set.public VolumeRestore.Builder clearVolumeType()
Output only. The type of volume provisioned
.google.cloud.gkebackup.v1.VolumeRestore.VolumeType volume_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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 VolumeRestore.Builder setCompleteTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the associated underlying volume restoration completed.
.google.protobuf.Timestamp complete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public VolumeRestore.Builder setCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp when the associated underlying volume restoration completed.
.google.protobuf.Timestamp complete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public VolumeRestore.Builder mergeCompleteTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the associated underlying volume restoration completed.
.google.protobuf.Timestamp complete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public VolumeRestore.Builder clearCompleteTime()
Output only. The timestamp when the associated underlying volume restoration completed.
.google.protobuf.Timestamp complete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCompleteTimeBuilder()
Output only. The timestamp when the associated underlying volume restoration completed.
.google.protobuf.Timestamp complete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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.Builder setStateValue(int value)
Output only. The current state of this VolumeRestore.
.google.cloud.gkebackup.v1.VolumeRestore.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.public 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 VolumeRestore.Builder setState(VolumeRestore.State value)
Output only. The current state of this VolumeRestore.
.google.cloud.gkebackup.v1.VolumeRestore.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public VolumeRestore.Builder clearState()
Output only. The current state of this VolumeRestore.
.google.cloud.gkebackup.v1.VolumeRestore.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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 VolumeRestore.Builder setStateMessage(String value)
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];value - The stateMessage to set.public VolumeRestore.Builder clearStateMessage()
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];public VolumeRestore.Builder setStateMessageBytes(com.google.protobuf.ByteString value)
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];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 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 VolumeRestore.Builder setEtag(String value)
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];value - The etag to set.public VolumeRestore.Builder clearEtag()
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];public VolumeRestore.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 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];value - The bytes for etag to set.public final VolumeRestore.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VolumeRestore.Builder>public final VolumeRestore.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VolumeRestore.Builder>Copyright © 2023 Google LLC. All rights reserved.