public static final class ListRelatedAccountGroupsRequest.Builder extends GeneratedMessageV3.Builder<ListRelatedAccountGroupsRequest.Builder> implements ListRelatedAccountGroupsRequestOrBuilder
The request message to list related account groups.
Protobuf type google.cloud.recaptchaenterprise.v1.ListRelatedAccountGroupsRequest
Methods
public ListRelatedAccountGroupsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListRelatedAccountGroupsRequest build()
Returns
public ListRelatedAccountGroupsRequest buildPartial()
Returns
public ListRelatedAccountGroupsRequest.Builder clear()
Returns
Overrides
public ListRelatedAccountGroupsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ListRelatedAccountGroupsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPageSize()
public ListRelatedAccountGroupsRequest.Builder clearPageSize()
Optional. The maximum number of groups to return. The service may return fewer than
this value.
If unspecified, at most 50 groups will be returned.
The maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearPageToken()
public ListRelatedAccountGroupsRequest.Builder clearPageToken()
Optional. A page token, received from a previous ListRelatedAccountGroups
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
ListRelatedAccountGroups
must match the call that provided the page
token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
public ListRelatedAccountGroupsRequest.Builder clearParent()
Required. The name of the project to list related account groups from, in the format
"projects/{project}".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public ListRelatedAccountGroupsRequest.Builder clone()
Returns
Overrides
public ListRelatedAccountGroupsRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPageSize()
Optional. The maximum number of groups to return. The service may return fewer than
this value.
If unspecified, at most 50 groups will be returned.
The maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
int | The pageSize.
|
getPageToken()
public String getPageToken()
Optional. A page token, received from a previous ListRelatedAccountGroups
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
ListRelatedAccountGroups
must match the call that provided the page
token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
String | The pageToken.
|
getPageTokenBytes()
public ByteString getPageTokenBytes()
Optional. A page token, received from a previous ListRelatedAccountGroups
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
ListRelatedAccountGroups
must match the call that provided the page
token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
public String getParent()
Required. The name of the project to list related account groups from, in the format
"projects/{project}".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
public ByteString getParentBytes()
Required. The name of the project to list related account groups from, in the format
"projects/{project}".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListRelatedAccountGroupsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListRelatedAccountGroupsRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public ListRelatedAccountGroupsRequest.Builder mergeFrom(ListRelatedAccountGroupsRequest other)
Parameter
Returns
public final ListRelatedAccountGroupsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListRelatedAccountGroupsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPageSize(int value)
public ListRelatedAccountGroupsRequest.Builder setPageSize(int value)
Optional. The maximum number of groups to return. The service may return fewer than
this value.
If unspecified, at most 50 groups will be returned.
The maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | int
The pageSize to set.
|
Returns
setPageToken(String value)
public ListRelatedAccountGroupsRequest.Builder setPageToken(String value)
Optional. A page token, received from a previous ListRelatedAccountGroups
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
ListRelatedAccountGroups
must match the call that provided the page
token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | String
The pageToken to set.
|
Returns
setPageTokenBytes(ByteString value)
public ListRelatedAccountGroupsRequest.Builder setPageTokenBytes(ByteString value)
Optional. A page token, received from a previous ListRelatedAccountGroups
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
ListRelatedAccountGroups
must match the call that provided the page
token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | ByteString
The bytes for pageToken to set.
|
Returns
public ListRelatedAccountGroupsRequest.Builder setParent(String value)
Required. The name of the project to list related account groups from, in the format
"projects/{project}".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
public ListRelatedAccountGroupsRequest.Builder setParentBytes(ByteString value)
Required. The name of the project to list related account groups from, in the format
"projects/{project}".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
public ListRelatedAccountGroupsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ListRelatedAccountGroupsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides