Package com.google.iam.v1
Class TestIamPermissionsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<TestIamPermissionsResponse,TestIamPermissionsResponse.Builder>
com.google.iam.v1.TestIamPermissionsResponse.Builder
- All Implemented Interfaces:
TestIamPermissionsResponseOrBuilder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable
- Enclosing class:
- TestIamPermissionsResponse
public static final class TestIamPermissionsResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<TestIamPermissionsResponse,TestIamPermissionsResponse.Builder>
implements TestIamPermissionsResponseOrBuilder
Response message for `TestIamPermissions` method.Protobuf type
google.iam.v1.TestIamPermissionsResponse-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllPermissions(Iterable<String> values) A subset of `TestPermissionsRequest.permissions` that the caller is allowed.addPermissions(String value) A subset of `TestPermissionsRequest.permissions` that the caller is allowed.addPermissionsBytes(com.google.protobuf.ByteString value) A subset of `TestPermissionsRequest.permissions` that the caller is allowed.A subset of `TestPermissionsRequest.permissions` that the caller is allowed.getPermissions(int index) A subset of `TestPermissionsRequest.permissions` that the caller is allowed.com.google.protobuf.ByteStringgetPermissionsBytes(int index) A subset of `TestPermissionsRequest.permissions` that the caller is allowed.intA subset of `TestPermissionsRequest.permissions` that the caller is allowed.A subset of `TestPermissionsRequest.permissions` that the caller is allowed.setPermissions(int index, String value) A subset of `TestPermissionsRequest.permissions` that the caller is allowed.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getPermissionsList
A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
repeated string permissions = 1 [json_name = "permissions"];- Specified by:
getPermissionsListin interfaceTestIamPermissionsResponseOrBuilder- Returns:
- A list containing the permissions.
-
getPermissionsCount
public int getPermissionsCount()A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
repeated string permissions = 1 [json_name = "permissions"];- Specified by:
getPermissionsCountin interfaceTestIamPermissionsResponseOrBuilder- Returns:
- The count of permissions.
-
getPermissions
A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
repeated string permissions = 1 [json_name = "permissions"];- Specified by:
getPermissionsin interfaceTestIamPermissionsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The permissions at the given index.
-
getPermissionsBytes
public com.google.protobuf.ByteString getPermissionsBytes(int index) A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
repeated string permissions = 1 [json_name = "permissions"];- Specified by:
getPermissionsBytesin interfaceTestIamPermissionsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the permissions at the given index.
-
setPermissions
A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
repeated string permissions = 1 [json_name = "permissions"];- Parameters:
index- The index to set the value at.value- The permissions to set.- Returns:
- This builder for chaining.
-
addPermissions
A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
repeated string permissions = 1 [json_name = "permissions"];- Parameters:
value- The permissions to add.- Returns:
- This builder for chaining.
-
addAllPermissions
A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
repeated string permissions = 1 [json_name = "permissions"];- Parameters:
values- The permissions to add.- Returns:
- This builder for chaining.
-
clearPermissions
A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
repeated string permissions = 1 [json_name = "permissions"];- Returns:
- This builder for chaining.
-
addPermissionsBytes
A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
repeated string permissions = 1 [json_name = "permissions"];- Parameters:
value- The bytes of the permissions to add.- Returns:
- This builder for chaining.
-