public static final class QueryTestablePermissionsResponse.Builder extends GeneratedMessageV3.Builder<QueryTestablePermissionsResponse.Builder> implements QueryTestablePermissionsResponseOrBuilder
The response containing permissions which can be tested on a resource.
Protobuf type google.iam.admin.v1.QueryTestablePermissionsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllPermissions(Iterable<? extends Permission> values)
public QueryTestablePermissionsResponse.Builder addAllPermissions(Iterable<? extends Permission> values)
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.iam.admin.v1.Permission>
|
Returns
addPermissions(Permission value)
public QueryTestablePermissionsResponse.Builder addPermissions(Permission value)
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
Parameter
Returns
addPermissions(Permission.Builder builderForValue)
public QueryTestablePermissionsResponse.Builder addPermissions(Permission.Builder builderForValue)
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
Parameter
Returns
addPermissions(int index, Permission value)
public QueryTestablePermissionsResponse.Builder addPermissions(int index, Permission value)
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
Parameters
Returns
addPermissions(int index, Permission.Builder builderForValue)
public QueryTestablePermissionsResponse.Builder addPermissions(int index, Permission.Builder builderForValue)
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
Parameters
Returns
addPermissionsBuilder()
public Permission.Builder addPermissionsBuilder()
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
Returns
addPermissionsBuilder(int index)
public Permission.Builder addPermissionsBuilder(int index)
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueryTestablePermissionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public QueryTestablePermissionsResponse build()
Returns
buildPartial()
public QueryTestablePermissionsResponse buildPartial()
Returns
clear()
public QueryTestablePermissionsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public QueryTestablePermissionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public QueryTestablePermissionsResponse.Builder clearNextPageToken()
To retrieve the next page of results, set
QueryTestableRolesRequest.page_token
to this value.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public QueryTestablePermissionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPermissions()
public QueryTestablePermissionsResponse.Builder clearPermissions()
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
Returns
clone()
public QueryTestablePermissionsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public QueryTestablePermissionsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
To retrieve the next page of results, set
QueryTestableRolesRequest.page_token
to this value.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
To retrieve the next page of results, set
QueryTestableRolesRequest.page_token
to this value.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getPermissions(int index)
public Permission getPermissions(int index)
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
Parameter
Returns
getPermissionsBuilder(int index)
public Permission.Builder getPermissionsBuilder(int index)
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
Parameter
Returns
getPermissionsBuilderList()
public List<Permission.Builder> getPermissionsBuilderList()
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
Returns
getPermissionsCount()
public int getPermissionsCount()
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
Returns
getPermissionsList()
public List<Permission> getPermissionsList()
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
Returns
getPermissionsOrBuilder(int index)
public PermissionOrBuilder getPermissionsOrBuilder(int index)
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
Parameter
Returns
getPermissionsOrBuilderList()
public List<? extends PermissionOrBuilder> getPermissionsOrBuilderList()
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
Returns
Type | Description |
List<? extends com.google.iam.admin.v1.PermissionOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(QueryTestablePermissionsResponse other)
public QueryTestablePermissionsResponse.Builder mergeFrom(QueryTestablePermissionsResponse other)
Parameter
Returns
public QueryTestablePermissionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public QueryTestablePermissionsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueryTestablePermissionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removePermissions(int index)
public QueryTestablePermissionsResponse.Builder removePermissions(int index)
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public QueryTestablePermissionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public QueryTestablePermissionsResponse.Builder setNextPageToken(String value)
To retrieve the next page of results, set
QueryTestableRolesRequest.page_token
to this value.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public QueryTestablePermissionsResponse.Builder setNextPageTokenBytes(ByteString value)
To retrieve the next page of results, set
QueryTestableRolesRequest.page_token
to this value.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setPermissions(int index, Permission value)
public QueryTestablePermissionsResponse.Builder setPermissions(int index, Permission value)
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
Parameters
Returns
setPermissions(int index, Permission.Builder builderForValue)
public QueryTestablePermissionsResponse.Builder setPermissions(int index, Permission.Builder builderForValue)
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueryTestablePermissionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final QueryTestablePermissionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides