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 boolean
getApiDisabled()
The service API associated with the permission is not enabled.Permission.CustomRolesSupportLevel
getCustomRolesSupportLevel()
The current custom role support level.int
getCustomRolesSupportLevelValue()
The current custom role support level.String
getDescription()
A brief description of what this Permission is used for.com.google.protobuf.ByteString
getDescriptionBytes()
A brief description of what this Permission is used for.String
getName()
The name of this Permission.com.google.protobuf.ByteString
getNameBytes()
The name of this Permission.boolean
getOnlyInPredefinedRoles()
Deprecated.google.iam.admin.v1.Permission.only_in_predefined_roles is deprecated.String
getPrimaryPermission()
The preferred name for this permission.com.google.protobuf.ByteString
getPrimaryPermissionBytes()
The preferred name for this permission.Permission.PermissionLaunchStage
getStage()
The current launch stage of the permission.int
getStageValue()
The current launch stage of the permission.String
getTitle()
The title of this Permission.com.google.protobuf.ByteString
getTitleBytes()
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.
-
-