Interface RestoreConfig.VolumeDataRestorePolicyBindingOrBuilder (0.52.0)

public static interface RestoreConfig.VolumeDataRestorePolicyBindingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPolicy()

public abstract 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
Type Description
RestoreConfig.VolumeDataRestorePolicy

The policy.

getPolicyValue()

public abstract 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
Type Description
int

The enum numeric value on the wire for policy.

getScopeCase()

public abstract RestoreConfig.VolumeDataRestorePolicyBinding.ScopeCase getScopeCase()
Returns
Type Description
RestoreConfig.VolumeDataRestorePolicyBinding.ScopeCase

getVolumeType()

public abstract 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
Type Description
VolumeTypeEnum.VolumeType

The volumeType.

getVolumeTypeValue()

public abstract 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
Type Description
int

The enum numeric value on the wire for volumeType.

hasVolumeType()

public abstract 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
Type Description
boolean

Whether the volumeType field is set.