public static final class QueryGrantableRolesResponse.Builder extends GeneratedMessageV3.Builder<QueryGrantableRolesResponse.Builder> implements QueryGrantableRolesResponseOrBuilder
The grantable role query response.
Protobuf type google.iam.admin.v1.QueryGrantableRolesResponse
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
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueryGrantableRolesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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
|
addRoles(Role.Builder builderForValue)
public QueryGrantableRolesResponse.Builder addRoles(Role.Builder builderForValue)
The list of matching roles.
repeated .google.iam.admin.v1.Role roles = 1;
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
|
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;
addRolesBuilder()
public Role.Builder addRolesBuilder()
The list of matching roles.
repeated .google.iam.admin.v1.Role roles = 1;
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
|
build()
public QueryGrantableRolesResponse build()
buildPartial()
public QueryGrantableRolesResponse buildPartial()
clear()
public QueryGrantableRolesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public QueryGrantableRolesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public QueryGrantableRolesResponse.Builder clearNextPageToken()
To retrieve the next page of results, set
QueryGrantableRolesRequest.page_token
to this value.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public QueryGrantableRolesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRoles()
public QueryGrantableRolesResponse.Builder clearRoles()
The list of matching roles.
repeated .google.iam.admin.v1.Role roles = 1;
clone()
public QueryGrantableRolesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public QueryGrantableRolesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
getRolesBuilderList()
public List<Role.Builder> getRolesBuilderList()
The list of matching roles.
repeated .google.iam.admin.v1.Role roles = 1;
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;
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
|
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(QueryGrantableRolesResponse other)
public QueryGrantableRolesResponse.Builder mergeFrom(QueryGrantableRolesResponse other)
public QueryGrantableRolesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public QueryGrantableRolesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueryGrantableRolesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public QueryGrantableRolesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The nextPageToken to set.
|
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 |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueryGrantableRolesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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
|
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final QueryGrantableRolesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides