/*
 * Copyright 2020 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!
// source: google/iam/admin/v1/iam.proto

package com.google.iam.admin.v1;

public interface PermissionOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.iam.admin.v1.Permission)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The name of this Permission.
   * </pre>
   *
   * <code>string name = 1;</code>
   *
   * @return The name.
   */
  java.lang.String getName();
  /**
   *
   *
   * <pre>
   * The name of this Permission.
   * </pre>
   *
   * <code>string name = 1;</code>
   *
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * The title of this Permission.
   * </pre>
   *
   * <code>string title = 2;</code>
   *
   * @return The title.
   */
  java.lang.String getTitle();
  /**
   *
   *
   * <pre>
   * The title of this Permission.
   * </pre>
   *
   * <code>string title = 2;</code>
   *
   * @return The bytes for title.
   */
  com.google.protobuf.ByteString getTitleBytes();

  /**
   *
   *
   * <pre>
   * A brief description of what this Permission is used for.
   * This permission can ONLY be used in predefined roles.
   * </pre>
   *
   * <code>string description = 3;</code>
   *
   * @return The description.
   */
  java.lang.String getDescription();
  /**
   *
   *
   * <pre>
   * A brief description of what this Permission is used for.
   * This permission can ONLY be used in predefined roles.
   * </pre>
   *
   * <code>string description = 3;</code>
   *
   * @return The bytes for description.
   */
  com.google.protobuf.ByteString getDescriptionBytes();

  /**
   * <code>bool only_in_predefined_roles = 4 [deprecated = true];</code>
   *
   * @deprecated google.iam.admin.v1.Permission.only_in_predefined_roles is deprecated. See
   *     google/iam/admin/v1/iam.proto;l=1450
   * @return The onlyInPredefinedRoles.
   */
  @java.lang.Deprecated
  boolean getOnlyInPredefinedRoles();

  /**
   *
   *
   * <pre>
   * The current launch stage of the permission.
   * </pre>
   *
   * <code>.google.iam.admin.v1.Permission.PermissionLaunchStage stage = 5;</code>
   *
   * @return The enum numeric value on the wire for stage.
   */
  int getStageValue();
  /**
   *
   *
   * <pre>
   * The current launch stage of the permission.
   * </pre>
   *
   * <code>.google.iam.admin.v1.Permission.PermissionLaunchStage stage = 5;</code>
   *
   * @return The stage.
   */
  com.google.iam.admin.v1.Permission.PermissionLaunchStage getStage();

  /**
   *
   *
   * <pre>
   * The current custom role support level.
   * </pre>
   *
   * <code>.google.iam.admin.v1.Permission.CustomRolesSupportLevel custom_roles_support_level = 6;
   * </code>
   *
   * @return The enum numeric value on the wire for customRolesSupportLevel.
   */
  int getCustomRolesSupportLevelValue();
  /**
   *
   *
   * <pre>
   * The current custom role support level.
   * </pre>
   *
   * <code>.google.iam.admin.v1.Permission.CustomRolesSupportLevel custom_roles_support_level = 6;
   * </code>
   *
   * @return The customRolesSupportLevel.
   */
  com.google.iam.admin.v1.Permission.CustomRolesSupportLevel getCustomRolesSupportLevel();

  /**
   *
   *
   * <pre>
   * The service API associated with the permission is not enabled.
   * </pre>
   *
   * <code>bool api_disabled = 7;</code>
   *
   * @return The apiDisabled.
   */
  boolean getApiDisabled();

  /**
   *
   *
   * <pre>
   * The preferred name for this permission. If present, then this permission is
   * an alias of, and equivalent to, the listed primary_permission.
   * </pre>
   *
   * <code>string primary_permission = 8;</code>
   *
   * @return The primaryPermission.
   */
  java.lang.String getPrimaryPermission();
  /**
   *
   *
   * <pre>
   * The preferred name for this permission. If present, then this permission is
   * an alias of, and equivalent to, the listed primary_permission.
   * </pre>
   *
   * <code>string primary_permission = 8;</code>
   *
   * @return The bytes for primaryPermission.
   */
  com.google.protobuf.ByteString getPrimaryPermissionBytes();
}
