Package com.google.iam.admin.v1
Interface PermissionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Permission,Permission.Builder
public interface PermissionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleangetApiDisabled()The service API associated with the permission is not enabled.Permission.CustomRolesSupportLevelgetCustomRolesSupportLevel()The current custom role support level.intgetCustomRolesSupportLevelValue()The current custom role support level.StringgetDescription()A brief description of what this Permission is used for.com.google.protobuf.ByteStringgetDescriptionBytes()A brief description of what this Permission is used for.StringgetName()The name of this Permission.com.google.protobuf.ByteStringgetNameBytes()The name of this Permission.booleangetOnlyInPredefinedRoles()Deprecated.google.iam.admin.v1.Permission.only_in_predefined_roles is deprecated.StringgetPrimaryPermission()The preferred name for this permission.com.google.protobuf.ByteStringgetPrimaryPermissionBytes()The preferred name for this permission.Permission.PermissionLaunchStagegetStage()The current launch stage of the permission.intgetStageValue()The current launch stage of the permission.StringgetTitle()The title of this Permission.com.google.protobuf.ByteStringgetTitleBytes()The title of this Permission.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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=1450bool 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
Permission.PermissionLaunchStage 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.
-
-