public static final class QueryGrantableRolesResponse.Builder extends GeneratedMessage.Builder<QueryGrantableRolesResponse.Builder> implements QueryGrantableRolesResponseOrBuilderThe grantable role query response.
Protobuf type google.iam.admin.v1.QueryGrantableRolesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > QueryGrantableRolesResponse.BuilderImplements
QueryGrantableRolesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllRoles(Iterable<? extends Role> values)
public QueryGrantableRolesResponse.Builder addAllRoles(Iterable<? extends Role> values)The list of matching roles.
repeated .google.iam.admin.v1.Role roles = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.iam.admin.v1.Role> |
| Returns | |
|---|---|
| Type | Description |
QueryGrantableRolesResponse.Builder |
|
addRoles(Role value)
public QueryGrantableRolesResponse.Builder addRoles(Role value)The list of matching roles.
repeated .google.iam.admin.v1.Role roles = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Role |
| Returns | |
|---|---|
| Type | Description |
QueryGrantableRolesResponse.Builder |
|
addRoles(Role.Builder builderForValue)
public QueryGrantableRolesResponse.Builder addRoles(Role.Builder builderForValue)The list of matching roles.
repeated .google.iam.admin.v1.Role roles = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Role.Builder |
| Returns | |
|---|---|
| Type | Description |
QueryGrantableRolesResponse.Builder |
|
addRoles(int index, Role value)
public QueryGrantableRolesResponse.Builder addRoles(int index, Role value)The list of matching roles.
repeated .google.iam.admin.v1.Role roles = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Role |
| Returns | |
|---|---|
| Type | Description |
QueryGrantableRolesResponse.Builder |
|
addRoles(int index, Role.Builder builderForValue)
public QueryGrantableRolesResponse.Builder addRoles(int index, Role.Builder builderForValue)The list of matching roles.
repeated .google.iam.admin.v1.Role roles = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Role.Builder |
| Returns | |
|---|---|
| Type | Description |
QueryGrantableRolesResponse.Builder |
|
addRolesBuilder()
public Role.Builder addRolesBuilder()The list of matching roles.
repeated .google.iam.admin.v1.Role roles = 1;
| Returns | |
|---|---|
| Type | Description |
Role.Builder |
|
addRolesBuilder(int index)
public Role.Builder addRolesBuilder(int index)The list of matching roles.
repeated .google.iam.admin.v1.Role roles = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Role.Builder |
|
build()
public QueryGrantableRolesResponse build()| Returns | |
|---|---|
| Type | Description |
QueryGrantableRolesResponse |
|
buildPartial()
public QueryGrantableRolesResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
QueryGrantableRolesResponse |
|
clear()
public QueryGrantableRolesResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
QueryGrantableRolesResponse.Builder |
|
clearNextPageToken()
public QueryGrantableRolesResponse.Builder clearNextPageToken() To retrieve the next page of results, set
QueryGrantableRolesRequest.page_token to this value.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
QueryGrantableRolesResponse.Builder |
This builder for chaining. |
clearRoles()
public QueryGrantableRolesResponse.Builder clearRoles()The list of matching roles.
repeated .google.iam.admin.v1.Role roles = 1;
| Returns | |
|---|---|
| Type | Description |
QueryGrantableRolesResponse.Builder |
|
getDefaultInstanceForType()
public QueryGrantableRolesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
QueryGrantableRolesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken() To retrieve the next page of results, set
QueryGrantableRolesRequest.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
QueryGrantableRolesRequest.page_token to this value.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getRoles(int index)
public Role getRoles(int index)The list of matching roles.
repeated .google.iam.admin.v1.Role roles = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Role |
|
getRolesBuilder(int index)
public Role.Builder getRolesBuilder(int index)The list of matching roles.
repeated .google.iam.admin.v1.Role roles = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Role.Builder |
|
getRolesBuilderList()
public List<Role.Builder> getRolesBuilderList()The list of matching roles.
repeated .google.iam.admin.v1.Role roles = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getRolesCount()
public int getRolesCount()The list of matching roles.
repeated .google.iam.admin.v1.Role roles = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getRolesList()
public List<Role> getRolesList()The list of matching roles.
repeated .google.iam.admin.v1.Role roles = 1;
| Returns | |
|---|---|
| Type | Description |
List<Role> |
|
getRolesOrBuilder(int index)
public RoleOrBuilder getRolesOrBuilder(int index)The list of matching roles.
repeated .google.iam.admin.v1.Role roles = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RoleOrBuilder |
|
getRolesOrBuilderList()
public List<? extends RoleOrBuilder> getRolesOrBuilderList()The list of matching roles.
repeated .google.iam.admin.v1.Role roles = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.iam.admin.v1.RoleOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(QueryGrantableRolesResponse other)
public QueryGrantableRolesResponse.Builder mergeFrom(QueryGrantableRolesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
QueryGrantableRolesResponse |
| Returns | |
|---|---|
| Type | Description |
QueryGrantableRolesResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QueryGrantableRolesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
QueryGrantableRolesResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public QueryGrantableRolesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
QueryGrantableRolesResponse.Builder |
|
removeRoles(int index)
public QueryGrantableRolesResponse.Builder removeRoles(int index)The list of matching roles.
repeated .google.iam.admin.v1.Role roles = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
QueryGrantableRolesResponse.Builder |
|
setNextPageToken(String value)
public QueryGrantableRolesResponse.Builder setNextPageToken(String value) To retrieve the next page of results, set
QueryGrantableRolesRequest.page_token to this value.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
QueryGrantableRolesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public QueryGrantableRolesResponse.Builder setNextPageTokenBytes(ByteString value) To retrieve the next page of results, set
QueryGrantableRolesRequest.page_token to this value.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
QueryGrantableRolesResponse.Builder |
This builder for chaining. |
setRoles(int index, Role value)
public QueryGrantableRolesResponse.Builder setRoles(int index, Role value)The list of matching roles.
repeated .google.iam.admin.v1.Role roles = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Role |
| Returns | |
|---|---|
| Type | Description |
QueryGrantableRolesResponse.Builder |
|
setRoles(int index, Role.Builder builderForValue)
public QueryGrantableRolesResponse.Builder setRoles(int index, Role.Builder builderForValue)The list of matching roles.
repeated .google.iam.admin.v1.Role roles = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Role.Builder |
| Returns | |
|---|---|
| Type | Description |
QueryGrantableRolesResponse.Builder |
|