Class ListServiceAccountsRequest.Builder (3.39.0)

public static final class ListServiceAccountsRequest.Builder extends GeneratedMessageV3.Builder<ListServiceAccountsRequest.Builder> implements ListServiceAccountsRequestOrBuilder

The service account list request.

Protobuf type google.iam.admin.v1.ListServiceAccountsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListServiceAccountsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListServiceAccountsRequest.Builder
Overrides

build()

public ListServiceAccountsRequest build()
Returns
Type Description
ListServiceAccountsRequest

buildPartial()

public ListServiceAccountsRequest buildPartial()
Returns
Type Description
ListServiceAccountsRequest

clear()

public ListServiceAccountsRequest.Builder clear()
Returns
Type Description
ListServiceAccountsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListServiceAccountsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListServiceAccountsRequest.Builder
Overrides

clearName()

public ListServiceAccountsRequest.Builder clearName()

Required. The resource name of the project associated with the service accounts, such as projects/my-project-123.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListServiceAccountsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListServiceAccountsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListServiceAccountsRequest.Builder
Overrides

clearPageSize()

public ListServiceAccountsRequest.Builder clearPageSize()

Optional limit on the number of service accounts to include in the response. Further accounts can subsequently be obtained by including the ListServiceAccountsResponse.next_page_token in a subsequent request.

The default is 20, and the maximum is 100.

int32 page_size = 2;

Returns
Type Description
ListServiceAccountsRequest.Builder

This builder for chaining.

clearPageToken()

public ListServiceAccountsRequest.Builder clearPageToken()

Optional pagination token returned in an earlier ListServiceAccountsResponse.next_page_token.

string page_token = 3;

Returns
Type Description
ListServiceAccountsRequest.Builder

This builder for chaining.

clone()

public ListServiceAccountsRequest.Builder clone()
Returns
Type Description
ListServiceAccountsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListServiceAccountsRequest getDefaultInstanceForType()
Returns
Type Description
ListServiceAccountsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The resource name of the project associated with the service accounts, such as projects/my-project-123.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the project associated with the service accounts, such as projects/my-project-123.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getPageSize()

public int getPageSize()

Optional limit on the number of service accounts to include in the response. Further accounts can subsequently be obtained by including the ListServiceAccountsResponse.next_page_token in a subsequent request.

The default is 20, and the maximum is 100.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional pagination token returned in an earlier ListServiceAccountsResponse.next_page_token.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional pagination token returned in an earlier ListServiceAccountsResponse.next_page_token.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListServiceAccountsRequest other)

public ListServiceAccountsRequest.Builder mergeFrom(ListServiceAccountsRequest other)
Parameter
Name Description
other ListServiceAccountsRequest
Returns
Type Description
ListServiceAccountsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListServiceAccountsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListServiceAccountsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListServiceAccountsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListServiceAccountsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListServiceAccountsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListServiceAccountsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListServiceAccountsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListServiceAccountsRequest.Builder
Overrides

setName(String value)

public ListServiceAccountsRequest.Builder setName(String value)

Required. The resource name of the project associated with the service accounts, such as projects/my-project-123.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ListServiceAccountsRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ListServiceAccountsRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the project associated with the service accounts, such as projects/my-project-123.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ListServiceAccountsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListServiceAccountsRequest.Builder setPageSize(int value)

Optional limit on the number of service accounts to include in the response. Further accounts can subsequently be obtained by including the ListServiceAccountsResponse.next_page_token in a subsequent request.

The default is 20, and the maximum is 100.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListServiceAccountsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListServiceAccountsRequest.Builder setPageToken(String value)

Optional pagination token returned in an earlier ListServiceAccountsResponse.next_page_token.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListServiceAccountsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListServiceAccountsRequest.Builder setPageTokenBytes(ByteString value)

Optional pagination token returned in an earlier ListServiceAccountsResponse.next_page_token.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListServiceAccountsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListServiceAccountsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListServiceAccountsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListServiceAccountsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListServiceAccountsRequest.Builder
Overrides