Package com.google.cloud.gkebackup.v1
Class RestoreConfig.ClusterResourceRestoreScope.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
com.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope.Builder
- All Implemented Interfaces:
RestoreConfig.ClusterResourceRestoreScopeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RestoreConfig.ClusterResourceRestoreScope
public static final class RestoreConfig.ClusterResourceRestoreScope.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
implements RestoreConfig.ClusterResourceRestoreScopeOrBuilder
Defines the scope of cluster-scoped resources to restore. Some group kinds are not reasonable choices for a restore, and will cause an error if selected here. Any scope selection that would restore "all valid" resources automatically excludes these group kinds. - Node - ComponentStatus - gkebackup.gke.io/BackupJob - gkebackup.gke.io/RestoreJob - metrics.k8s.io/NodeMetrics - migration.k8s.io/StorageState - migration.k8s.io/StorageVersionMigration - snapshot.storage.k8s.io/VolumeSnapshotContent - storage.k8s.io/CSINode - storage.k8s.io/VolumeAttachment Some group kinds are driven by restore configuration elsewhere, and will cause an error if selected here. - Namespace - PersistentVolumeProtobuf type
google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope-
Method Summary
Modifier and TypeMethodDescriptionaddAllExcludedGroupKinds(Iterable<? extends RestoreConfig.GroupKind> values) Optional.addAllSelectedGroupKinds(Iterable<? extends RestoreConfig.GroupKind> values) Optional.addExcludedGroupKinds(int index, RestoreConfig.GroupKind value) Optional.addExcludedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue) Optional.Optional.addExcludedGroupKinds(RestoreConfig.GroupKind.Builder builderForValue) Optional.Optional.addExcludedGroupKindsBuilder(int index) Optional.addSelectedGroupKinds(int index, RestoreConfig.GroupKind value) Optional.addSelectedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue) Optional.Optional.addSelectedGroupKinds(RestoreConfig.GroupKind.Builder builderForValue) Optional.Optional.addSelectedGroupKindsBuilder(int index) Optional.build()clear()Optional.Optional.Optional.Optional.booleanOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetExcludedGroupKinds(int index) Optional.getExcludedGroupKindsBuilder(int index) Optional.Optional.intOptional.Optional.getExcludedGroupKindsOrBuilder(int index) Optional.List<? extends RestoreConfig.GroupKindOrBuilder>Optional.booleanOptional.getSelectedGroupKinds(int index) Optional.getSelectedGroupKindsBuilder(int index) Optional.Optional.intOptional.Optional.getSelectedGroupKindsOrBuilder(int index) Optional.List<? extends RestoreConfig.GroupKindOrBuilder>Optional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeExcludedGroupKinds(int index) Optional.removeSelectedGroupKinds(int index) Optional.setAllGroupKinds(boolean value) Optional.setExcludedGroupKinds(int index, RestoreConfig.GroupKind value) Optional.setExcludedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue) Optional.setNoGroupKinds(boolean value) Optional.setSelectedGroupKinds(int index, RestoreConfig.GroupKind value) Optional.setSelectedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public RestoreConfig.ClusterResourceRestoreScope.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
mergeFrom
public RestoreConfig.ClusterResourceRestoreScope.Builder mergeFrom(RestoreConfig.ClusterResourceRestoreScope other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
mergeFrom
public RestoreConfig.ClusterResourceRestoreScope.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>- Throws:
IOException
-
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];- Specified by:
getSelectedGroupKindsListin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder
-
getSelectedGroupKindsCount
public 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];- Specified by:
getSelectedGroupKindsCountin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder
-
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];- Specified by:
getSelectedGroupKindsin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder
-
setSelectedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder setSelectedGroupKinds(int index, RestoreConfig.GroupKind value) 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]; -
setSelectedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder setSelectedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue) 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]; -
addSelectedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder addSelectedGroupKinds(RestoreConfig.GroupKind value) 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]; -
addSelectedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder addSelectedGroupKinds(int index, RestoreConfig.GroupKind value) 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]; -
addSelectedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder addSelectedGroupKinds(RestoreConfig.GroupKind.Builder builderForValue) 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]; -
addSelectedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder addSelectedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue) 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]; -
addAllSelectedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder addAllSelectedGroupKinds(Iterable<? extends RestoreConfig.GroupKind> values) 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]; -
clearSelectedGroupKinds
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]; -
removeSelectedGroupKinds
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]; -
getSelectedGroupKindsBuilder
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];- Specified by:
getSelectedGroupKindsOrBuilderin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder
-
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];- Specified by:
getSelectedGroupKindsOrBuilderListin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder
-
addSelectedGroupKindsBuilder
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]; -
addSelectedGroupKindsBuilder
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]; -
getSelectedGroupKindsBuilderList
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
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];- Specified by:
getExcludedGroupKindsListin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder
-
getExcludedGroupKindsCount
public 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];- Specified by:
getExcludedGroupKindsCountin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder
-
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];- Specified by:
getExcludedGroupKindsin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder
-
setExcludedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder setExcludedGroupKinds(int index, RestoreConfig.GroupKind value) 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]; -
setExcludedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder setExcludedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue) 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]; -
addExcludedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder addExcludedGroupKinds(RestoreConfig.GroupKind value) 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]; -
addExcludedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder addExcludedGroupKinds(int index, RestoreConfig.GroupKind value) 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]; -
addExcludedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder addExcludedGroupKinds(RestoreConfig.GroupKind.Builder builderForValue) 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]; -
addExcludedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder addExcludedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue) 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]; -
addAllExcludedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder addAllExcludedGroupKinds(Iterable<? extends RestoreConfig.GroupKind> values) 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]; -
clearExcludedGroupKinds
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]; -
removeExcludedGroupKinds
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]; -
getExcludedGroupKindsBuilder
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];- Specified by:
getExcludedGroupKindsOrBuilderin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder
-
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];- Specified by:
getExcludedGroupKindsOrBuilderListin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder
-
addExcludedGroupKindsBuilder
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]; -
addExcludedGroupKindsBuilder
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]; -
getExcludedGroupKindsBuilderList
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
public 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];- Specified by:
getAllGroupKindsin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder- Returns:
- The allGroupKinds.
-
setAllGroupKinds
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];- Parameters:
value- The allGroupKinds to set.- Returns:
- This builder for chaining.
-
clearAllGroupKinds
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:
- This builder for chaining.
-
getNoGroupKinds
public 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];- Specified by:
getNoGroupKindsin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder- Returns:
- The noGroupKinds.
-
setNoGroupKinds
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];- Parameters:
value- The noGroupKinds to set.- Returns:
- This builder for chaining.
-
clearNoGroupKinds
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:
- This builder for chaining.
-