Package com.google.cloud.gkebackup.v1
Interface RestoreConfig.VolumeDataRestorePolicyBindingOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RestoreConfig.VolumeDataRestorePolicyBinding,RestoreConfig.VolumeDataRestorePolicyBinding.Builder
- Enclosing class:
- RestoreConfig
public static interface RestoreConfig.VolumeDataRestorePolicyBindingOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.intRequired.The volume type, as determined by the PVC's bound PV, to apply the policy to.intThe volume type, as determined by the PVC's bound PV, to apply the policy to.booleanThe volume type, as determined by the PVC's bound PV, to apply the policy to.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPolicyValue
int getPolicyValue()Required. The VolumeDataRestorePolicy to apply when restoring volumes in scope.
.google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for policy.
-
getPolicy
RestoreConfig.VolumeDataRestorePolicy getPolicy()Required. The VolumeDataRestorePolicy to apply when restoring volumes in scope.
.google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The policy.
-
hasVolumeType
boolean hasVolumeType()The volume type, as determined by the PVC's bound PV, to apply the policy to.
.google.cloud.gkebackup.v1.VolumeTypeEnum.VolumeType volume_type = 2;- Returns:
- Whether the volumeType field is set.
-
getVolumeTypeValue
int getVolumeTypeValue()The volume type, as determined by the PVC's bound PV, to apply the policy to.
.google.cloud.gkebackup.v1.VolumeTypeEnum.VolumeType volume_type = 2;- Returns:
- The enum numeric value on the wire for volumeType.
-
getVolumeType
VolumeTypeEnum.VolumeType getVolumeType()The volume type, as determined by the PVC's bound PV, to apply the policy to.
.google.cloud.gkebackup.v1.VolumeTypeEnum.VolumeType volume_type = 2;- Returns:
- The volumeType.
-
getScopeCase
RestoreConfig.VolumeDataRestorePolicyBinding.ScopeCase getScopeCase()
-