Interface RestoreConfig.ResourceFilterOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RestoreConfig.ResourceFilter, RestoreConfig.ResourceFilter.Builder
Enclosing class:
RestoreConfig

public static interface RestoreConfig.ResourceFilterOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getNamespacesList

      List<String> getNamespacesList()
       Optional. (Filtering parameter) Any resource subject to transformation
       must be contained within one of the listed Kubernetes Namespace in the
       Backup. If this field is not provided, no namespace filtering will be
       performed (all resources in all Namespaces, including all cluster-scoped
       resources, will be candidates for transformation).
       
      repeated string namespaces = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the namespaces.
    • getNamespacesCount

      int getNamespacesCount()
       Optional. (Filtering parameter) Any resource subject to transformation
       must be contained within one of the listed Kubernetes Namespace in the
       Backup. If this field is not provided, no namespace filtering will be
       performed (all resources in all Namespaces, including all cluster-scoped
       resources, will be candidates for transformation).
       
      repeated string namespaces = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of namespaces.
    • getNamespaces

      String getNamespaces(int index)
       Optional. (Filtering parameter) Any resource subject to transformation
       must be contained within one of the listed Kubernetes Namespace in the
       Backup. If this field is not provided, no namespace filtering will be
       performed (all resources in all Namespaces, including all cluster-scoped
       resources, will be candidates for transformation).
       
      repeated string namespaces = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The namespaces at the given index.
    • getNamespacesBytes

      com.google.protobuf.ByteString getNamespacesBytes(int index)
       Optional. (Filtering parameter) Any resource subject to transformation
       must be contained within one of the listed Kubernetes Namespace in the
       Backup. If this field is not provided, no namespace filtering will be
       performed (all resources in all Namespaces, including all cluster-scoped
       resources, will be candidates for transformation).
       
      repeated string namespaces = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the namespaces at the given index.
    • getGroupKindsList

      List<RestoreConfig.GroupKind> getGroupKindsList()
       Optional. (Filtering parameter) Any resource subject to transformation
       must belong to one of the listed "types". If this field is not provided,
       no type filtering will be performed (all resources of all types matching
       previous filtering parameters will be candidates for transformation).
       
      repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind group_kinds = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getGroupKinds

      RestoreConfig.GroupKind getGroupKinds(int index)
       Optional. (Filtering parameter) Any resource subject to transformation
       must belong to one of the listed "types". If this field is not provided,
       no type filtering will be performed (all resources of all types matching
       previous filtering parameters will be candidates for transformation).
       
      repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind group_kinds = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getGroupKindsCount

      int getGroupKindsCount()
       Optional. (Filtering parameter) Any resource subject to transformation
       must belong to one of the listed "types". If this field is not provided,
       no type filtering will be performed (all resources of all types matching
       previous filtering parameters will be candidates for transformation).
       
      repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind group_kinds = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getGroupKindsOrBuilderList

      List<? extends RestoreConfig.GroupKindOrBuilder> getGroupKindsOrBuilderList()
       Optional. (Filtering parameter) Any resource subject to transformation
       must belong to one of the listed "types". If this field is not provided,
       no type filtering will be performed (all resources of all types matching
       previous filtering parameters will be candidates for transformation).
       
      repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind group_kinds = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getGroupKindsOrBuilder

      RestoreConfig.GroupKindOrBuilder getGroupKindsOrBuilder(int index)
       Optional. (Filtering parameter) Any resource subject to transformation
       must belong to one of the listed "types". If this field is not provided,
       no type filtering will be performed (all resources of all types matching
       previous filtering parameters will be candidates for transformation).
       
      repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind group_kinds = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getJsonPath

      String getJsonPath()
       Optional. This is a [JSONPath]
       (https://github.com/json-path/JsonPath/blob/master/README.md)
       expression that matches specific fields of candidate
       resources and it operates as a filtering parameter (resources that
       are not matched with this expression will not be candidates for
       transformation).
       
      string json_path = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The jsonPath.
    • getJsonPathBytes

      com.google.protobuf.ByteString getJsonPathBytes()
       Optional. This is a [JSONPath]
       (https://github.com/json-path/JsonPath/blob/master/README.md)
       expression that matches specific fields of candidate
       resources and it operates as a filtering parameter (resources that
       are not matched with this expression will not be candidates for
       transformation).
       
      string json_path = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for jsonPath.