Package com.google.cloud.gkebackup.v1
Interface RestoreConfig.ClusterResourceRestoreScopeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RestoreConfig.ClusterResourceRestoreScope,RestoreConfig.ClusterResourceRestoreScope.Builder
- Enclosing class:
- RestoreConfig
public static interface RestoreConfig.ClusterResourceRestoreScopeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.getExcludedGroupKinds(int index) Optional.intOptional.Optional.getExcludedGroupKindsOrBuilder(int index) Optional.List<? extends RestoreConfig.GroupKindOrBuilder>Optional.booleanOptional.getSelectedGroupKinds(int index) Optional.intOptional.Optional.getSelectedGroupKindsOrBuilder(int index) Optional.List<? extends RestoreConfig.GroupKindOrBuilder>Optional.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
-
getSelectedGroupKindsList
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]; -
getSelectedGroupKinds
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]; -
getSelectedGroupKindsCount
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]; -
getSelectedGroupKindsOrBuilderList
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]; -
getSelectedGroupKindsOrBuilder
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]; -
getExcludedGroupKindsList
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]; -
getExcludedGroupKinds
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]; -
getExcludedGroupKindsCount
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]; -
getExcludedGroupKindsOrBuilderList
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]; -
getExcludedGroupKindsOrBuilder
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]; -
getAllGroupKinds
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:
- The allGroupKinds.
-
getNoGroupKinds
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:
- The noGroupKinds.
-