public interface VolumeDataRestorePolicyOverrideOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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 VolumeDataRestorePolicyOverride.ScopeCase getScopeCase()| Returns | |
|---|---|
| Type | Description |
VolumeDataRestorePolicyOverride.ScopeCase |
|
getSelectedPvcs()
public abstract NamespacedNames getSelectedPvcs()A list of PVCs to apply the policy override to.
.google.cloud.gkebackup.v1.NamespacedNames selected_pvcs = 2;
| Returns | |
|---|---|
| Type | Description |
NamespacedNames |
The selectedPvcs. |
getSelectedPvcsOrBuilder()
public abstract NamespacedNamesOrBuilder getSelectedPvcsOrBuilder()A list of PVCs to apply the policy override to.
.google.cloud.gkebackup.v1.NamespacedNames selected_pvcs = 2;
| Returns | |
|---|---|
| Type | Description |
NamespacedNamesOrBuilder |
|
hasSelectedPvcs()
public abstract boolean hasSelectedPvcs()A list of PVCs to apply the policy override to.
.google.cloud.gkebackup.v1.NamespacedNames selected_pvcs = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the selectedPvcs field is set. |