/*
 * 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/v3/policy_bindings_service.proto
// Protobuf Java Version: 4.33.2

package com.google.iam.v3;

@com.google.protobuf.Generated
public interface CreatePolicyBindingRequestOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.iam.v3.CreatePolicyBindingRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Required. The parent resource where this policy binding will be created.
   * The binding parent is the closest Resource Manager resource (project,
   * folder or organization) to the binding target.
   *
   * Format:
   *
   * * `projects/{project_id}/locations/{location}`
   * * `projects/{project_number}/locations/{location}`
   * * `folders/{folder_id}/locations/{location}`
   * * `organizations/{organization_id}/locations/{location}`
   * </pre>
   *
   * <code>
   * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The parent.
   */
  java.lang.String getParent();

  /**
   *
   *
   * <pre>
   * Required. The parent resource where this policy binding will be created.
   * The binding parent is the closest Resource Manager resource (project,
   * folder or organization) to the binding target.
   *
   * Format:
   *
   * * `projects/{project_id}/locations/{location}`
   * * `projects/{project_number}/locations/{location}`
   * * `folders/{folder_id}/locations/{location}`
   * * `organizations/{organization_id}/locations/{location}`
   * </pre>
   *
   * <code>
   * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The bytes for parent.
   */
  com.google.protobuf.ByteString getParentBytes();

  /**
   *
   *
   * <pre>
   * Required. The ID to use for the policy binding, which will become the final
   * component of the policy binding's resource name.
   *
   * This value must start with a lowercase letter followed by up to 62
   * lowercase letters, numbers, hyphens, or dots. Pattern,
   * /[a-z][a-z0-9-&#92;.]{2,62}/.
   * </pre>
   *
   * <code>string policy_binding_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The policyBindingId.
   */
  java.lang.String getPolicyBindingId();

  /**
   *
   *
   * <pre>
   * Required. The ID to use for the policy binding, which will become the final
   * component of the policy binding's resource name.
   *
   * This value must start with a lowercase letter followed by up to 62
   * lowercase letters, numbers, hyphens, or dots. Pattern,
   * /[a-z][a-z0-9-&#92;.]{2,62}/.
   * </pre>
   *
   * <code>string policy_binding_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The bytes for policyBindingId.
   */
  com.google.protobuf.ByteString getPolicyBindingIdBytes();

  /**
   *
   *
   * <pre>
   * Required. The policy binding to create.
   * </pre>
   *
   * <code>
   * .google.iam.v3.PolicyBinding policy_binding = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return Whether the policyBinding field is set.
   */
  boolean hasPolicyBinding();

  /**
   *
   *
   * <pre>
   * Required. The policy binding to create.
   * </pre>
   *
   * <code>
   * .google.iam.v3.PolicyBinding policy_binding = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return The policyBinding.
   */
  com.google.iam.v3.PolicyBinding getPolicyBinding();

  /**
   *
   *
   * <pre>
   * Required. The policy binding to create.
   * </pre>
   *
   * <code>
   * .google.iam.v3.PolicyBinding policy_binding = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   */
  com.google.iam.v3.PolicyBindingOrBuilder getPolicyBindingOrBuilder();

  /**
   *
   *
   * <pre>
   * Optional. If set, validate the request and preview the creation, but do not
   * actually post it.
   * </pre>
   *
   * <code>bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @return The validateOnly.
   */
  boolean getValidateOnly();
}
