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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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>
|
addPermissions(Permission value)
public QueryTestablePermissionsResponse.Builder addPermissions(Permission value)
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
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;
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;
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;
addPermissionsBuilder()
public Permission.Builder addPermissionsBuilder()
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
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 |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueryTestablePermissionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public QueryTestablePermissionsResponse build()
buildPartial()
public QueryTestablePermissionsResponse buildPartial()
clear()
public QueryTestablePermissionsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public QueryTestablePermissionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public QueryTestablePermissionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPermissions()
public QueryTestablePermissionsResponse.Builder clearPermissions()
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
clone()
public QueryTestablePermissionsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public QueryTestablePermissionsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Name |
Description |
index |
int
|
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 |
Name |
Description |
index |
int
|
getPermissionsBuilderList()
public List<Permission.Builder> getPermissionsBuilderList()
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
getPermissionsCount()
public int getPermissionsCount()
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
Returns |
Type |
Description |
int |
|
getPermissionsList()
public List<Permission> getPermissionsList()
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
getPermissionsOrBuilder(int index)
public PermissionOrBuilder getPermissionsOrBuilder(int index)
The Permissions testable on the requested resource.
repeated .google.iam.admin.v1.Permission permissions = 1;
Parameter |
Name |
Description |
index |
int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(QueryTestablePermissionsResponse other)
public QueryTestablePermissionsResponse.Builder mergeFrom(QueryTestablePermissionsResponse other)
public QueryTestablePermissionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public QueryTestablePermissionsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueryTestablePermissionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public QueryTestablePermissionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueryTestablePermissionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final QueryTestablePermissionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides