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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListServiceAccountsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListServiceAccountsRequest build()
Returns
buildPartial()
public ListServiceAccountsRequest buildPartial()
Returns
clear()
public ListServiceAccountsRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListServiceAccountsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListServiceAccountsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clearPageToken()
public ListServiceAccountsRequest.Builder clearPageToken()
Optional pagination token returned in an earlier
ListServiceAccountsResponse.next_page_token.
string page_token = 3;
Returns
clone()
public ListServiceAccountsRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListServiceAccountsRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListServiceAccountsRequest other)
public ListServiceAccountsRequest.Builder mergeFrom(ListServiceAccountsRequest other)
Parameter
Returns
public ListServiceAccountsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListServiceAccountsRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListServiceAccountsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ListServiceAccountsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListServiceAccountsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListServiceAccountsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides