Interface RestoreConfig.ClusterResourceRestoreScopeOrBuilder (0.35.0)

public static interface RestoreConfig.ClusterResourceRestoreScopeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllGroupKinds()

public abstract boolean getAllGroupKinds()

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

bool all_group_kinds = 3;

Returns
TypeDescription
boolean

The allGroupKinds.

getExcludedGroupKinds(int index)

public abstract RestoreConfig.GroupKind getExcludedGroupKinds(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
RestoreConfig.GroupKind

getExcludedGroupKindsCount()

public abstract int getExcludedGroupKindsCount()

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;

Returns
TypeDescription
int

getExcludedGroupKindsList()

public abstract List<RestoreConfig.GroupKind> getExcludedGroupKindsList()

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;

Returns
TypeDescription
List<GroupKind>

getExcludedGroupKindsOrBuilder(int index)

public abstract RestoreConfig.GroupKindOrBuilder getExcludedGroupKindsOrBuilder(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
RestoreConfig.GroupKindOrBuilder

getExcludedGroupKindsOrBuilderList()

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

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;

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

getNoGroupKinds()

public abstract boolean getNoGroupKinds()

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;

Returns
TypeDescription
boolean

The noGroupKinds.

getSelectedGroupKinds(int index)

public abstract RestoreConfig.GroupKind getSelectedGroupKinds(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
RestoreConfig.GroupKind

getSelectedGroupKindsCount()

public abstract int getSelectedGroupKindsCount()

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;

Returns
TypeDescription
int

getSelectedGroupKindsList()

public abstract List<RestoreConfig.GroupKind> getSelectedGroupKindsList()

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;

Returns
TypeDescription
List<GroupKind>

getSelectedGroupKindsOrBuilder(int index)

public abstract RestoreConfig.GroupKindOrBuilder getSelectedGroupKindsOrBuilder(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
RestoreConfig.GroupKindOrBuilder

getSelectedGroupKindsOrBuilderList()

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

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;

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