Class TestIamPermissionsResponse.Builder (1.3.4)
1.65.0 (latest)
1.62.0
1.61.0
1.60.1
1.59.1
1.58.2
1.57.0
1.56.3
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 TestIamPermissionsResponse . Builder extends GeneratedMessageV3 . Builder<TestIamPermissionsResponse . Builder > implements TestIamPermissionsResponseOrBuilder
Response message for TestIamPermissions method.
Protobuf type google.iam.v1.TestIamPermissionsResponse
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addAllPermissions(Iterable<String> values)
public TestIamPermissionsResponse . Builder addAllPermissions ( Iterable<String> values )
A subset of TestPermissionsRequest.permissions that the caller is
allowed.
repeated string permissions = 1;
Parameter
Returns
addPermissions(String value)
public TestIamPermissionsResponse . Builder addPermissions ( String value )
A subset of TestPermissionsRequest.permissions that the caller is
allowed.
repeated string permissions = 1;
Parameter
Name
Description
value
String The permissions to add.
Returns
addPermissionsBytes(ByteString value)
public TestIamPermissionsResponse . Builder addPermissionsBytes ( ByteString value )
A subset of TestPermissionsRequest.permissions that the caller is
allowed.
repeated string permissions = 1;
Parameter
Name
Description
value
ByteString The bytes of the permissions to add.
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TestIamPermissionsResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public TestIamPermissionsResponse build ()
Returns
buildPartial()
public TestIamPermissionsResponse buildPartial ()
Returns
clear()
public TestIamPermissionsResponse . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TestIamPermissionsResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TestIamPermissionsResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearPermissions()
public TestIamPermissionsResponse . Builder clearPermissions ()
A subset of TestPermissionsRequest.permissions that the caller is
allowed.
repeated string permissions = 1;
Returns
clone()
public TestIamPermissionsResponse . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public TestIamPermissionsResponse getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getPermissions(int index)
public String getPermissions ( int index )
A subset of TestPermissionsRequest.permissions that the caller is
allowed.
repeated string permissions = 1;
Parameter
Name
Description
index
int The index of the element to return.
Returns
Type
Description
String
The permissions at the given index.
getPermissionsBytes(int index)
public ByteString getPermissionsBytes ( int index )
A subset of TestPermissionsRequest.permissions that the caller is
allowed.
repeated string permissions = 1;
Parameter
Name
Description
index
int The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the permissions at the given index.
getPermissionsCount()
public int getPermissionsCount ()
A subset of TestPermissionsRequest.permissions that the caller is
allowed.
repeated string permissions = 1;
Returns
Type
Description
int
The count of permissions.
getPermissionsList()
public ProtocolStringList getPermissionsList ()
A subset of TestPermissionsRequest.permissions that the caller is
allowed.
repeated string permissions = 1;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(TestIamPermissionsResponse other)
public TestIamPermissionsResponse . Builder mergeFrom ( TestIamPermissionsResponse other )
Parameter
Returns
public TestIamPermissionsResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TestIamPermissionsResponse . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TestIamPermissionsResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TestIamPermissionsResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setPermissions(int index, String value)
public TestIamPermissionsResponse . Builder setPermissions ( int index , String value )
A subset of TestPermissionsRequest.permissions that the caller is
allowed.
repeated string permissions = 1;
Parameters
Name
Description
index
int The index to set the value at.
value
String The permissions to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TestIamPermissionsResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TestIamPermissionsResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-04-25 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-25 UTC."],[],[]]