public final class Permission extends com.google.protobuf.GeneratedMessageV3 implements PermissionOrBuilder
A permission which can be included by a role.Protobuf type
google.iam.admin.v1.Permission| Modifier and Type | Class and Description |
|---|---|
static class |
Permission.Builder
A permission which can be included by a role.
|
static class |
Permission.CustomRolesSupportLevel
The state of the permission with regards to custom roles.
|
static class |
Permission.PermissionLaunchStage
A stage representing a permission's lifecycle phase.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
API_DISABLED_FIELD_NUMBER |
static int |
CUSTOM_ROLES_SUPPORT_LEVEL_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
ONLY_IN_PREDEFINED_ROLES_FIELD_NUMBER |
static int |
PRIMARY_PERMISSION_FIELD_NUMBER |
static int |
STAGE_FIELD_NUMBER |
static int |
TITLE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
static Permission |
getDefaultInstance() |
Permission |
getDefaultInstanceForType() |
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.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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. See
google/iam/admin/v1/iam.proto;l=1450
|
com.google.protobuf.Parser<Permission> |
getParserForType() |
String |
getPrimaryPermission()
The preferred name for this permission.
|
com.google.protobuf.ByteString |
getPrimaryPermissionBytes()
The preferred name for this permission.
|
int |
getSerializedSize() |
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.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Permission.Builder |
newBuilder() |
static Permission.Builder |
newBuilder(Permission prototype) |
Permission.Builder |
newBuilderForType() |
protected Permission.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Permission |
parseDelimitedFrom(InputStream input) |
static Permission |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Permission |
parseFrom(byte[] data) |
static Permission |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Permission |
parseFrom(ByteBuffer data) |
static Permission |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Permission |
parseFrom(com.google.protobuf.ByteString data) |
static Permission |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Permission |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Permission |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Permission |
parseFrom(InputStream input) |
static Permission |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Permission> |
parser() |
Permission.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int ONLY_IN_PREDEFINED_ROLES_FIELD_NUMBER
public static final int STAGE_FIELD_NUMBER
public static final int CUSTOM_ROLES_SUPPORT_LEVEL_FIELD_NUMBER
public static final int API_DISABLED_FIELD_NUMBER
public static final int PRIMARY_PERMISSION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
The name of this Permission.
string name = 1;getName in interface PermissionOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of this Permission.
string name = 1;getNameBytes in interface PermissionOrBuilderpublic String getTitle()
The title of this Permission.
string title = 2;getTitle in interface PermissionOrBuilderpublic com.google.protobuf.ByteString getTitleBytes()
The title of this Permission.
string title = 2;getTitleBytes in interface PermissionOrBuilderpublic String getDescription()
A brief description of what this Permission is used for. This permission can ONLY be used in predefined roles.
string description = 3;getDescription in interface PermissionOrBuilderpublic 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;getDescriptionBytes in interface PermissionOrBuilder@Deprecated public boolean getOnlyInPredefinedRoles()
bool only_in_predefined_roles = 4 [deprecated = true];getOnlyInPredefinedRoles in interface PermissionOrBuilderpublic int getStageValue()
The current launch stage of the permission.
.google.iam.admin.v1.Permission.PermissionLaunchStage stage = 5;getStageValue in interface PermissionOrBuilderpublic Permission.PermissionLaunchStage getStage()
The current launch stage of the permission.
.google.iam.admin.v1.Permission.PermissionLaunchStage stage = 5;getStage in interface PermissionOrBuilderpublic int getCustomRolesSupportLevelValue()
The current custom role support level.
.google.iam.admin.v1.Permission.CustomRolesSupportLevel custom_roles_support_level = 6;
getCustomRolesSupportLevelValue in interface PermissionOrBuilderpublic Permission.CustomRolesSupportLevel getCustomRolesSupportLevel()
The current custom role support level.
.google.iam.admin.v1.Permission.CustomRolesSupportLevel custom_roles_support_level = 6;
getCustomRolesSupportLevel in interface PermissionOrBuilderpublic boolean getApiDisabled()
The service API associated with the permission is not enabled.
bool api_disabled = 7;getApiDisabled in interface PermissionOrBuilderpublic 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;getPrimaryPermission in interface PermissionOrBuilderpublic 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;getPrimaryPermissionBytes in interface PermissionOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Permission parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Permission parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Permission parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Permission parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Permission parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Permission parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Permission parseFrom(InputStream input) throws IOException
IOExceptionpublic static Permission parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Permission parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Permission parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Permission parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Permission parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Permission.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Permission.Builder newBuilder()
public static Permission.Builder newBuilder(Permission prototype)
public Permission.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Permission.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Permission getDefaultInstance()
public static com.google.protobuf.Parser<Permission> parser()
public com.google.protobuf.Parser<Permission> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Permission getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.