public static final class ListServiceAccountsResponse.Builder extends GeneratedMessageV3.Builder<ListServiceAccountsResponse.Builder> implements ListServiceAccountsResponseOrBuilder
The service account list response.
Protobuf type google.iam.admin.v1.ListServiceAccountsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAccounts(ServiceAccount value)
public ListServiceAccountsResponse.Builder addAccounts(ServiceAccount value)
The list of matching service accounts.
repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
Parameter
Returns
addAccounts(ServiceAccount.Builder builderForValue)
public ListServiceAccountsResponse.Builder addAccounts(ServiceAccount.Builder builderForValue)
The list of matching service accounts.
repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
Parameter
Returns
addAccounts(int index, ServiceAccount value)
public ListServiceAccountsResponse.Builder addAccounts(int index, ServiceAccount value)
The list of matching service accounts.
repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
Parameters
Returns
addAccounts(int index, ServiceAccount.Builder builderForValue)
public ListServiceAccountsResponse.Builder addAccounts(int index, ServiceAccount.Builder builderForValue)
The list of matching service accounts.
repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
Parameters
Returns
addAccountsBuilder()
public ServiceAccount.Builder addAccountsBuilder()
The list of matching service accounts.
repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
Returns
addAccountsBuilder(int index)
public ServiceAccount.Builder addAccountsBuilder(int index)
The list of matching service accounts.
repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
Parameter
Returns
addAllAccounts(Iterable<? extends ServiceAccount> values)
public ListServiceAccountsResponse.Builder addAllAccounts(Iterable<? extends ServiceAccount> values)
The list of matching service accounts.
repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.iam.admin.v1.ServiceAccount>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListServiceAccountsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListServiceAccountsResponse build()
Returns
buildPartial()
public ListServiceAccountsResponse buildPartial()
Returns
clear()
public ListServiceAccountsResponse.Builder clear()
Returns
Overrides
clearAccounts()
public ListServiceAccountsResponse.Builder clearAccounts()
The list of matching service accounts.
repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListServiceAccountsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListServiceAccountsResponse.Builder clearNextPageToken()
To retrieve the next page of results, set
ListServiceAccountsRequest.page_token
to this value.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListServiceAccountsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListServiceAccountsResponse.Builder clone()
Returns
Overrides
getAccounts(int index)
public ServiceAccount getAccounts(int index)
The list of matching service accounts.
repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
Parameter
Returns
getAccountsBuilder(int index)
public ServiceAccount.Builder getAccountsBuilder(int index)
The list of matching service accounts.
repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
Parameter
Returns
getAccountsBuilderList()
public List<ServiceAccount.Builder> getAccountsBuilderList()
The list of matching service accounts.
repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
Returns
getAccountsCount()
public int getAccountsCount()
The list of matching service accounts.
repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
Returns
getAccountsList()
public List<ServiceAccount> getAccountsList()
The list of matching service accounts.
repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
Returns
getAccountsOrBuilder(int index)
public ServiceAccountOrBuilder getAccountsOrBuilder(int index)
The list of matching service accounts.
repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
Parameter
Returns
getAccountsOrBuilderList()
public List<? extends ServiceAccountOrBuilder> getAccountsOrBuilderList()
The list of matching service accounts.
repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
Returns
Type | Description |
List<? extends com.google.iam.admin.v1.ServiceAccountOrBuilder> | |
getDefaultInstanceForType()
public ListServiceAccountsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
To retrieve the next page of results, set
ListServiceAccountsRequest.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
ListServiceAccountsRequest.page_token
to this value.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListServiceAccountsResponse other)
public ListServiceAccountsResponse.Builder mergeFrom(ListServiceAccountsResponse other)
Parameter
Returns
public ListServiceAccountsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListServiceAccountsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListServiceAccountsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeAccounts(int index)
public ListServiceAccountsResponse.Builder removeAccounts(int index)
The list of matching service accounts.
repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
Parameter
Returns
setAccounts(int index, ServiceAccount value)
public ListServiceAccountsResponse.Builder setAccounts(int index, ServiceAccount value)
The list of matching service accounts.
repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
Parameters
Returns
setAccounts(int index, ServiceAccount.Builder builderForValue)
public ListServiceAccountsResponse.Builder setAccounts(int index, ServiceAccount.Builder builderForValue)
The list of matching service accounts.
repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListServiceAccountsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListServiceAccountsResponse.Builder setNextPageToken(String value)
To retrieve the next page of results, set
ListServiceAccountsRequest.page_token
to this value.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListServiceAccountsResponse.Builder setNextPageTokenBytes(ByteString value)
To retrieve the next page of results, set
ListServiceAccountsRequest.page_token
to this value.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListServiceAccountsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListServiceAccountsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides