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
 - PersistentVolume
 
Protobuf type google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
    • getDefaultInstanceForType

      public RestoreConfig.ClusterResourceRestoreScope getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public RestoreConfig.ClusterResourceRestoreScope.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
      Throws:
      IOException
    • getSelectedGroupKindsList

      public 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];
      Specified by:
      getSelectedGroupKindsList in interface RestoreConfig.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:
      getSelectedGroupKindsCount in interface RestoreConfig.ClusterResourceRestoreScopeOrBuilder
    • getSelectedGroupKinds

      public 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];
      Specified by:
      getSelectedGroupKinds in interface RestoreConfig.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

       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

       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

      public RestoreConfig.ClusterResourceRestoreScope.Builder 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

      public RestoreConfig.ClusterResourceRestoreScope.Builder removeSelectedGroupKinds(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];
    • getSelectedGroupKindsBuilder

      public RestoreConfig.GroupKind.Builder getSelectedGroupKindsBuilder(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];
    • getSelectedGroupKindsOrBuilder

      public 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];
      Specified by:
      getSelectedGroupKindsOrBuilder in interface RestoreConfig.ClusterResourceRestoreScopeOrBuilder
    • getSelectedGroupKindsOrBuilderList

      public 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];
      Specified by:
      getSelectedGroupKindsOrBuilderList in interface RestoreConfig.ClusterResourceRestoreScopeOrBuilder
    • addSelectedGroupKindsBuilder

      public RestoreConfig.GroupKind.Builder 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

      public RestoreConfig.GroupKind.Builder addSelectedGroupKindsBuilder(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];
    • getSelectedGroupKindsBuilderList

      public List<RestoreConfig.GroupKind.Builder> 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

      public 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];
      Specified by:
      getExcludedGroupKindsList in interface RestoreConfig.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:
      getExcludedGroupKindsCount in interface RestoreConfig.ClusterResourceRestoreScopeOrBuilder
    • getExcludedGroupKinds

      public 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];
      Specified by:
      getExcludedGroupKinds in interface RestoreConfig.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

       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

       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

      public RestoreConfig.ClusterResourceRestoreScope.Builder 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

      public RestoreConfig.ClusterResourceRestoreScope.Builder removeExcludedGroupKinds(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];
    • getExcludedGroupKindsBuilder

      public RestoreConfig.GroupKind.Builder getExcludedGroupKindsBuilder(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];
    • getExcludedGroupKindsOrBuilder

      public 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];
      Specified by:
      getExcludedGroupKindsOrBuilder in interface RestoreConfig.ClusterResourceRestoreScopeOrBuilder
    • getExcludedGroupKindsOrBuilderList

      public 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];
      Specified by:
      getExcludedGroupKindsOrBuilderList in interface RestoreConfig.ClusterResourceRestoreScopeOrBuilder
    • addExcludedGroupKindsBuilder

      public RestoreConfig.GroupKind.Builder 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

      public RestoreConfig.GroupKind.Builder addExcludedGroupKindsBuilder(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];
    • getExcludedGroupKindsBuilderList

      public List<RestoreConfig.GroupKind.Builder> 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:
      getAllGroupKinds in interface RestoreConfig.ClusterResourceRestoreScopeOrBuilder
      Returns:
      The allGroupKinds.
    • setAllGroupKinds

      public RestoreConfig.ClusterResourceRestoreScope.Builder setAllGroupKinds(boolean value)
       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:
      getNoGroupKinds in interface RestoreConfig.ClusterResourceRestoreScopeOrBuilder
      Returns:
      The noGroupKinds.
    • setNoGroupKinds

      public RestoreConfig.ClusterResourceRestoreScope.Builder setNoGroupKinds(boolean value)
       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.