Class ListServiceAccountsRequest.Builder (3.19.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListServiceAccountsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListServiceAccountsRequest.Builder
Overrides

build()

public ListServiceAccountsRequest build()
Returns
TypeDescription
ListServiceAccountsRequest

buildPartial()

public ListServiceAccountsRequest buildPartial()
Returns
TypeDescription
ListServiceAccountsRequest

clear()

public ListServiceAccountsRequest.Builder clear()
Returns
TypeDescription
ListServiceAccountsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListServiceAccountsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListServiceAccountsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListServiceAccountsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ListServiceAccountsRequest.Builder

This builder for chaining.

clone()

public ListServiceAccountsRequest.Builder clone()
Returns
TypeDescription
ListServiceAccountsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListServiceAccountsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListServiceAccountsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

Optional pagination token returned in an earlier ListServiceAccountsResponse.next_page_token.

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional pagination token returned in an earlier ListServiceAccountsResponse.next_page_token.

string page_token = 3;

Returns
TypeDescription
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListServiceAccountsRequest other)

public ListServiceAccountsRequest.Builder mergeFrom(ListServiceAccountsRequest other)
Parameter
NameDescription
otherListServiceAccountsRequest
Returns
TypeDescription
ListServiceAccountsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListServiceAccountsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListServiceAccountsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListServiceAccountsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListServiceAccountsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListServiceAccountsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListServiceAccountsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListServiceAccountsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListServiceAccountsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListServiceAccountsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListServiceAccountsRequest.Builder
Overrides