- 1.56.3 (latest)
- 1.56.2
- 1.55.0
- 1.54.2
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.1
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.1
- 1.44.0
- 1.43.0
- 1.41.0
- 1.40.1
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.1
- 1.33.0
- 1.32.1
- 1.31.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.1
- 1.19.0
- 1.18.1
- 1.17.1
- 1.16.1
- 1.10.0
- 1.9.3
- 1.8.0
- 1.7.0
- 1.6.23
- 1.5.1
- 1.4.1
- 1.3.4
- 1.2.12
public static final class TestIamPermissionsRequest.Builder extends GeneratedMessageV3.Builder<TestIamPermissionsRequest.Builder> implements TestIamPermissionsRequestOrBuilder Request message for TestIamPermissions method.
Protobuf type google.iam.v1.TestIamPermissionsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TestIamPermissionsRequest.BuilderImplements
TestIamPermissionsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllPermissions(Iterable<String> values)
public TestIamPermissionsRequest.Builder addAllPermissions(Iterable<String> values) The set of permissions to check for the resource. Permissions with
wildcards (such as '' or 'storage.') are not allowed. For more
information see
IAM Overview.
repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The permissions to add. |
| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsRequest.Builder |
This builder for chaining. |
addPermissions(String value)
public TestIamPermissionsRequest.Builder addPermissions(String value) The set of permissions to check for the resource. Permissions with
wildcards (such as '' or 'storage.') are not allowed. For more
information see
IAM Overview.
repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe permissions to add. |
| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsRequest.Builder |
This builder for chaining. |
addPermissionsBytes(ByteString value)
public TestIamPermissionsRequest.Builder addPermissionsBytes(ByteString value) The set of permissions to check for the resource. Permissions with
wildcards (such as '' or 'storage.') are not allowed. For more
information see
IAM Overview.
repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the permissions to add. |
| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsRequest.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TestIamPermissionsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsRequest.Builder |
|
build()
public TestIamPermissionsRequest build()| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsRequest |
|
buildPartial()
public TestIamPermissionsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsRequest |
|
clear()
public TestIamPermissionsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsRequest.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public TestIamPermissionsRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsRequest.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public TestIamPermissionsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsRequest.Builder |
|
clearPermissions()
public TestIamPermissionsRequest.Builder clearPermissions() The set of permissions to check for the resource. Permissions with
wildcards (such as '' or 'storage.') are not allowed. For more
information see
IAM Overview.
repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsRequest.Builder |
This builder for chaining. |
clearResource()
public TestIamPermissionsRequest.Builder clearResource()REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsRequest.Builder |
This builder for chaining. |
clone()
public TestIamPermissionsRequest.Builder clone()| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsRequest.Builder |
|
getDefaultInstanceForType()
public TestIamPermissionsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPermissions(int index)
public String getPermissions(int index) The set of permissions to check for the resource. Permissions with
wildcards (such as '' or 'storage.') are not allowed. For more
information see
IAM Overview.
repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The permissions at the given index. |
getPermissionsBytes(int index)
public ByteString getPermissionsBytes(int index) The set of permissions to check for the resource. Permissions with
wildcards (such as '' or 'storage.') are not allowed. For more
information see
IAM Overview.
repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the permissions at the given index. |
getPermissionsCount()
public int getPermissionsCount() The set of permissions to check for the resource. Permissions with
wildcards (such as '' or 'storage.') are not allowed. For more
information see
IAM Overview.
repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of permissions. |
getPermissionsList()
public ProtocolStringList getPermissionsList() The set of permissions to check for the resource. Permissions with
wildcards (such as '' or 'storage.') are not allowed. For more
information see
IAM Overview.
repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the permissions. |
getResource()
public String getResource()REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The resource. |
getResourceBytes()
public ByteString getResourceBytes()REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for resource. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(TestIamPermissionsRequest other)
public TestIamPermissionsRequest.Builder mergeFrom(TestIamPermissionsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
TestIamPermissionsRequest |
| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TestIamPermissionsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TestIamPermissionsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TestIamPermissionsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsRequest.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public TestIamPermissionsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsRequest.Builder |
|
setPermissions(int index, String value)
public TestIamPermissionsRequest.Builder setPermissions(int index, String value) The set of permissions to check for the resource. Permissions with
wildcards (such as '' or 'storage.') are not allowed. For more
information see
IAM Overview.
repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe permissions to set. |
| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TestIamPermissionsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsRequest.Builder |
|
setResource(String value)
public TestIamPermissionsRequest.Builder setResource(String value)REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe resource to set. |
| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsRequest.Builder |
This builder for chaining. |
setResourceBytes(ByteString value)
public TestIamPermissionsRequest.Builder setResourceBytes(ByteString value)REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for resource to set. |
| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TestIamPermissionsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsRequest.Builder |
|