/*
 * Copyright 2026 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: google/iam/v3beta/principal_access_boundary_policy_resources.proto
// Protobuf Java Version: 4.33.2

package com.google.iam.v3beta;

@com.google.protobuf.Generated
public interface PrincipalAccessBoundaryPolicyRuleOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.iam.v3beta.PrincipalAccessBoundaryPolicyRule)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Optional. The description of the principal access boundary policy rule.
   * Must be less than or equal to 256 characters.
   * </pre>
   *
   * <code>string description = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @return The description.
   */
  java.lang.String getDescription();

  /**
   *
   *
   * <pre>
   * Optional. The description of the principal access boundary policy rule.
   * Must be less than or equal to 256 characters.
   * </pre>
   *
   * <code>string description = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @return The bytes for description.
   */
  com.google.protobuf.ByteString getDescriptionBytes();

  /**
   *
   *
   * <pre>
   * Required. A list of Resource Manager resources. If a resource is listed in
   * the rule, then the rule applies for that resource and its descendants. The
   * number of resources in a policy is limited to 500 across all rules in the
   * policy.
   *
   * The following resource types are supported:
   *
   * * Organizations, such as
   * `//cloudresourcemanager.googleapis.com/organizations/123`.
   * * Folders, such as `//cloudresourcemanager.googleapis.com/folders/123`.
   * * Projects, such as `//cloudresourcemanager.googleapis.com/projects/123`
   * or `//cloudresourcemanager.googleapis.com/projects/my-project-id`.
   * </pre>
   *
   * <code>repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return A list containing the resources.
   */
  java.util.List<java.lang.String> getResourcesList();

  /**
   *
   *
   * <pre>
   * Required. A list of Resource Manager resources. If a resource is listed in
   * the rule, then the rule applies for that resource and its descendants. The
   * number of resources in a policy is limited to 500 across all rules in the
   * policy.
   *
   * The following resource types are supported:
   *
   * * Organizations, such as
   * `//cloudresourcemanager.googleapis.com/organizations/123`.
   * * Folders, such as `//cloudresourcemanager.googleapis.com/folders/123`.
   * * Projects, such as `//cloudresourcemanager.googleapis.com/projects/123`
   * or `//cloudresourcemanager.googleapis.com/projects/my-project-id`.
   * </pre>
   *
   * <code>repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The count of resources.
   */
  int getResourcesCount();

  /**
   *
   *
   * <pre>
   * Required. A list of Resource Manager resources. If a resource is listed in
   * the rule, then the rule applies for that resource and its descendants. The
   * number of resources in a policy is limited to 500 across all rules in the
   * policy.
   *
   * The following resource types are supported:
   *
   * * Organizations, such as
   * `//cloudresourcemanager.googleapis.com/organizations/123`.
   * * Folders, such as `//cloudresourcemanager.googleapis.com/folders/123`.
   * * Projects, such as `//cloudresourcemanager.googleapis.com/projects/123`
   * or `//cloudresourcemanager.googleapis.com/projects/my-project-id`.
   * </pre>
   *
   * <code>repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @param index The index of the element to return.
   * @return The resources at the given index.
   */
  java.lang.String getResources(int index);

  /**
   *
   *
   * <pre>
   * Required. A list of Resource Manager resources. If a resource is listed in
   * the rule, then the rule applies for that resource and its descendants. The
   * number of resources in a policy is limited to 500 across all rules in the
   * policy.
   *
   * The following resource types are supported:
   *
   * * Organizations, such as
   * `//cloudresourcemanager.googleapis.com/organizations/123`.
   * * Folders, such as `//cloudresourcemanager.googleapis.com/folders/123`.
   * * Projects, such as `//cloudresourcemanager.googleapis.com/projects/123`
   * or `//cloudresourcemanager.googleapis.com/projects/my-project-id`.
   * </pre>
   *
   * <code>repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @param index The index of the value to return.
   * @return The bytes of the resources at the given index.
   */
  com.google.protobuf.ByteString getResourcesBytes(int index);

  /**
   *
   *
   * <pre>
   * Required. The access relationship of principals to the resources in this
   * rule.
   * </pre>
   *
   * <code>
   * .google.iam.v3beta.PrincipalAccessBoundaryPolicyRule.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return The enum numeric value on the wire for effect.
   */
  int getEffectValue();

  /**
   *
   *
   * <pre>
   * Required. The access relationship of principals to the resources in this
   * rule.
   * </pre>
   *
   * <code>
   * .google.iam.v3beta.PrincipalAccessBoundaryPolicyRule.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return The effect.
   */
  com.google.iam.v3beta.PrincipalAccessBoundaryPolicyRule.Effect getEffect();
}
