Interface PermissionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Permission, Permission.Builder

@Generated public interface PermissionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    The service API associated with the permission is not enabled.
    The current custom role support level.
    int
    The current custom role support level.
    A brief description of what this Permission is used for.
    com.google.protobuf.ByteString
    A brief description of what this Permission is used for.
    The name of this Permission.
    com.google.protobuf.ByteString
    The name of this Permission.
    boolean
    Deprecated.
    google.iam.admin.v1.Permission.only_in_predefined_roles is deprecated.
    The preferred name for this permission.
    com.google.protobuf.ByteString
    The preferred name for this permission.
    The current launch stage of the permission.
    int
    The current launch stage of the permission.
    The title of this Permission.
    com.google.protobuf.ByteString
    The title of this Permission.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       The name of this Permission.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The name of this Permission.
       
      string name = 1;
      Returns:
      The bytes for name.
    • getTitle

      String getTitle()
       The title of this Permission.
       
      string title = 2;
      Returns:
      The title.
    • getTitleBytes

      com.google.protobuf.ByteString getTitleBytes()
       The title of this Permission.
       
      string title = 2;
      Returns:
      The bytes for title.
    • getDescription

      String getDescription()
       A brief description of what this Permission is used for.
       This permission can ONLY be used in predefined roles.
       
      string description = 3;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       A brief description of what this Permission is used for.
       This permission can ONLY be used in predefined roles.
       
      string description = 3;
      Returns:
      The bytes for description.
    • getOnlyInPredefinedRoles

      @Deprecated boolean getOnlyInPredefinedRoles()
      Deprecated.
      google.iam.admin.v1.Permission.only_in_predefined_roles is deprecated. See google/iam/admin/v1/iam.proto;l=1450
      bool only_in_predefined_roles = 4 [deprecated = true];
      Returns:
      The onlyInPredefinedRoles.
    • getStageValue

      int getStageValue()
       The current launch stage of the permission.
       
      .google.iam.admin.v1.Permission.PermissionLaunchStage stage = 5;
      Returns:
      The enum numeric value on the wire for stage.
    • getStage

       The current launch stage of the permission.
       
      .google.iam.admin.v1.Permission.PermissionLaunchStage stage = 5;
      Returns:
      The stage.
    • getCustomRolesSupportLevelValue

      int getCustomRolesSupportLevelValue()
       The current custom role support level.
       
      .google.iam.admin.v1.Permission.CustomRolesSupportLevel custom_roles_support_level = 6;
      Returns:
      The enum numeric value on the wire for customRolesSupportLevel.
    • getCustomRolesSupportLevel

      Permission.CustomRolesSupportLevel getCustomRolesSupportLevel()
       The current custom role support level.
       
      .google.iam.admin.v1.Permission.CustomRolesSupportLevel custom_roles_support_level = 6;
      Returns:
      The customRolesSupportLevel.
    • getApiDisabled

      boolean getApiDisabled()
       The service API associated with the permission is not enabled.
       
      bool api_disabled = 7;
      Returns:
      The apiDisabled.
    • getPrimaryPermission

      String getPrimaryPermission()
       The preferred name for this permission. If present, then this permission is
       an alias of, and equivalent to, the listed primary_permission.
       
      string primary_permission = 8;
      Returns:
      The primaryPermission.
    • getPrimaryPermissionBytes

      com.google.protobuf.ByteString getPrimaryPermissionBytes()
       The preferred name for this permission. If present, then this permission is
       an alias of, and equivalent to, the listed primary_permission.
       
      string primary_permission = 8;
      Returns:
      The bytes for primaryPermission.