- 3.48.0 (latest)
- 3.47.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.0.0
- 1.2.5
- 1.1.8
- 0.2.0
public static final class Permission.Builder extends GeneratedMessageV3.Builder<Permission.Builder> implements PermissionOrBuilder
A permission which can be included by a role.
Protobuf type google.iam.admin.v1.Permission
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Permission.BuilderImplements
PermissionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Permission.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Permission.Builder |
build()
public Permission build()
Type | Description |
Permission |
buildPartial()
public Permission buildPartial()
Type | Description |
Permission |
clear()
public Permission.Builder clear()
Type | Description |
Permission.Builder |
clearApiDisabled()
public Permission.Builder clearApiDisabled()
The service API associated with the permission is not enabled.
bool api_disabled = 7;
Type | Description |
Permission.Builder | This builder for chaining. |
clearCustomRolesSupportLevel()
public Permission.Builder clearCustomRolesSupportLevel()
The current custom role support level.
.google.iam.admin.v1.Permission.CustomRolesSupportLevel custom_roles_support_level = 6;
Type | Description |
Permission.Builder | This builder for chaining. |
clearDescription()
public Permission.Builder clearDescription()
A brief description of what this Permission is used for. This permission can ONLY be used in predefined roles.
string description = 3;
Type | Description |
Permission.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Permission.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Permission.Builder |
clearName()
public Permission.Builder clearName()
The name of this Permission.
string name = 1;
Type | Description |
Permission.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Permission.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Permission.Builder |
clearOnlyInPredefinedRoles() (deprecated)
public Permission.Builder clearOnlyInPredefinedRoles()
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];
Type | Description |
Permission.Builder | This builder for chaining. |
clearPrimaryPermission()
public Permission.Builder clearPrimaryPermission()
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;
Type | Description |
Permission.Builder | This builder for chaining. |
clearStage()
public Permission.Builder clearStage()
The current launch stage of the permission.
.google.iam.admin.v1.Permission.PermissionLaunchStage stage = 5;
Type | Description |
Permission.Builder | This builder for chaining. |
clearTitle()
public Permission.Builder clearTitle()
The title of this Permission.
string title = 2;
Type | Description |
Permission.Builder | This builder for chaining. |
clone()
public Permission.Builder clone()
Type | Description |
Permission.Builder |
getApiDisabled()
public boolean getApiDisabled()
The service API associated with the permission is not enabled.
bool api_disabled = 7;
Type | Description |
boolean | The apiDisabled. |
getCustomRolesSupportLevel()
public Permission.CustomRolesSupportLevel getCustomRolesSupportLevel()
The current custom role support level.
.google.iam.admin.v1.Permission.CustomRolesSupportLevel custom_roles_support_level = 6;
Type | Description |
Permission.CustomRolesSupportLevel | The customRolesSupportLevel. |
getCustomRolesSupportLevelValue()
public int getCustomRolesSupportLevelValue()
The current custom role support level.
.google.iam.admin.v1.Permission.CustomRolesSupportLevel custom_roles_support_level = 6;
Type | Description |
int | The enum numeric value on the wire for customRolesSupportLevel. |
getDefaultInstanceForType()
public Permission getDefaultInstanceForType()
Type | Description |
Permission |
getDescription()
public String getDescription()
A brief description of what this Permission is used for. This permission can ONLY be used in predefined roles.
string description = 3;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
A brief description of what this Permission is used for. This permission can ONLY be used in predefined roles.
string description = 3;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
The name of this Permission.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The name of this Permission.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getOnlyInPredefinedRoles() (deprecated)
public 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];
Type | Description |
boolean | The onlyInPredefinedRoles. |
getPrimaryPermission()
public 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;
Type | Description |
String | The primaryPermission. |
getPrimaryPermissionBytes()
public 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;
Type | Description |
ByteString | The bytes for primaryPermission. |
getStage()
public Permission.PermissionLaunchStage getStage()
The current launch stage of the permission.
.google.iam.admin.v1.Permission.PermissionLaunchStage stage = 5;
Type | Description |
Permission.PermissionLaunchStage | The stage. |
getStageValue()
public int getStageValue()
The current launch stage of the permission.
.google.iam.admin.v1.Permission.PermissionLaunchStage stage = 5;
Type | Description |
int | The enum numeric value on the wire for stage. |
getTitle()
public String getTitle()
The title of this Permission.
string title = 2;
Type | Description |
String | The title. |
getTitleBytes()
public ByteString getTitleBytes()
The title of this Permission.
string title = 2;
Type | Description |
ByteString | The bytes for title. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Permission other)
public Permission.Builder mergeFrom(Permission other)
Name | Description |
other | Permission |
Type | Description |
Permission.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Permission.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Permission.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Permission.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Permission.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Permission.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Permission.Builder |
setApiDisabled(boolean value)
public Permission.Builder setApiDisabled(boolean value)
The service API associated with the permission is not enabled.
bool api_disabled = 7;
Name | Description |
value | boolean The apiDisabled to set. |
Type | Description |
Permission.Builder | This builder for chaining. |
setCustomRolesSupportLevel(Permission.CustomRolesSupportLevel value)
public Permission.Builder setCustomRolesSupportLevel(Permission.CustomRolesSupportLevel value)
The current custom role support level.
.google.iam.admin.v1.Permission.CustomRolesSupportLevel custom_roles_support_level = 6;
Name | Description |
value | Permission.CustomRolesSupportLevel The customRolesSupportLevel to set. |
Type | Description |
Permission.Builder | This builder for chaining. |
setCustomRolesSupportLevelValue(int value)
public Permission.Builder setCustomRolesSupportLevelValue(int value)
The current custom role support level.
.google.iam.admin.v1.Permission.CustomRolesSupportLevel custom_roles_support_level = 6;
Name | Description |
value | int The enum numeric value on the wire for customRolesSupportLevel to set. |
Type | Description |
Permission.Builder | This builder for chaining. |
setDescription(String value)
public Permission.Builder setDescription(String value)
A brief description of what this Permission is used for. This permission can ONLY be used in predefined roles.
string description = 3;
Name | Description |
value | String The description to set. |
Type | Description |
Permission.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Permission.Builder setDescriptionBytes(ByteString value)
A brief description of what this Permission is used for. This permission can ONLY be used in predefined roles.
string description = 3;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
Permission.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Permission.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Permission.Builder |
setName(String value)
public Permission.Builder setName(String value)
The name of this Permission.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
Permission.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Permission.Builder setNameBytes(ByteString value)
The name of this Permission.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Permission.Builder | This builder for chaining. |
setOnlyInPredefinedRoles(boolean value) (deprecated)
public Permission.Builder setOnlyInPredefinedRoles(boolean value)
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];
Name | Description |
value | boolean The onlyInPredefinedRoles to set. |
Type | Description |
Permission.Builder | This builder for chaining. |
setPrimaryPermission(String value)
public Permission.Builder setPrimaryPermission(String value)
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;
Name | Description |
value | String The primaryPermission to set. |
Type | Description |
Permission.Builder | This builder for chaining. |
setPrimaryPermissionBytes(ByteString value)
public Permission.Builder setPrimaryPermissionBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for primaryPermission to set. |
Type | Description |
Permission.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Permission.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Permission.Builder |
setStage(Permission.PermissionLaunchStage value)
public Permission.Builder setStage(Permission.PermissionLaunchStage value)
The current launch stage of the permission.
.google.iam.admin.v1.Permission.PermissionLaunchStage stage = 5;
Name | Description |
value | Permission.PermissionLaunchStage The stage to set. |
Type | Description |
Permission.Builder | This builder for chaining. |
setStageValue(int value)
public Permission.Builder setStageValue(int value)
The current launch stage of the permission.
.google.iam.admin.v1.Permission.PermissionLaunchStage stage = 5;
Name | Description |
value | int The enum numeric value on the wire for stage to set. |
Type | Description |
Permission.Builder | This builder for chaining. |
setTitle(String value)
public Permission.Builder setTitle(String value)
The title of this Permission.
string title = 2;
Name | Description |
value | String The title to set. |
Type | Description |
Permission.Builder | This builder for chaining. |
setTitleBytes(ByteString value)
public Permission.Builder setTitleBytes(ByteString value)
The title of this Permission.
string title = 2;
Name | Description |
value | ByteString The bytes for title to set. |
Type | Description |
Permission.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Permission.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Permission.Builder |