Interface RestoreConfig.ClusterResourceRestoreScopeOrBuilder (0.44.0)

public static interface RestoreConfig.ClusterResourceRestoreScopeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllGroupKinds()

public abstract boolean getAllGroupKinds()

Optional. If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message.

bool all_group_kinds = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The allGroupKinds.

getExcludedGroupKinds(int index)

public abstract RestoreConfig.GroupKind getExcludedGroupKinds(int index)

Optional. A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.

repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
RestoreConfig.GroupKind

getExcludedGroupKindsCount()

public abstract int getExcludedGroupKindsCount()

Optional. A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.

repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getExcludedGroupKindsList()

public abstract List<RestoreConfig.GroupKind> getExcludedGroupKindsList()

Optional. A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.

repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<GroupKind>

getExcludedGroupKindsOrBuilder(int index)

public abstract RestoreConfig.GroupKindOrBuilder getExcludedGroupKindsOrBuilder(int index)

Optional. A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.

repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
RestoreConfig.GroupKindOrBuilder

getExcludedGroupKindsOrBuilderList()

public abstract List<? extends RestoreConfig.GroupKindOrBuilder> getExcludedGroupKindsOrBuilderList()

Optional. A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.

repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.gkebackup.v1.RestoreConfig.GroupKindOrBuilder>

getNoGroupKinds()

public abstract boolean getNoGroupKinds()

Optional. If True, no cluster-scoped resources will be restored. This has the same restore scope as if the message is not defined. Mutually exclusive to any other field in the message.

bool no_group_kinds = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The noGroupKinds.

getSelectedGroupKinds(int index)

public abstract RestoreConfig.GroupKind getSelectedGroupKinds(int index)

Optional. A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.

repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
RestoreConfig.GroupKind

getSelectedGroupKindsCount()

public abstract int getSelectedGroupKindsCount()

Optional. A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.

repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getSelectedGroupKindsList()

public abstract List<RestoreConfig.GroupKind> getSelectedGroupKindsList()

Optional. A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.

repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<GroupKind>

getSelectedGroupKindsOrBuilder(int index)

public abstract RestoreConfig.GroupKindOrBuilder getSelectedGroupKindsOrBuilder(int index)

Optional. A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.

repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
RestoreConfig.GroupKindOrBuilder

getSelectedGroupKindsOrBuilderList()

public abstract List<? extends RestoreConfig.GroupKindOrBuilder> getSelectedGroupKindsOrBuilderList()

Optional. A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.

repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.gkebackup.v1.RestoreConfig.GroupKindOrBuilder>