public static final class ListRelatedAccountGroupMembershipsRequest.Builder extends GeneratedMessageV3.Builder<ListRelatedAccountGroupMembershipsRequest.Builder> implements ListRelatedAccountGroupMembershipsRequestOrBuilder
The request message to list memberships in a related account group.
Protobuf type
google.cloud.recaptchaenterprise.v1.ListRelatedAccountGroupMembershipsRequest
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ListRelatedAccountGroupMembershipsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListRelatedAccountGroupMembershipsRequest build()
Returns
public ListRelatedAccountGroupMembershipsRequest buildPartial()
Returns
public ListRelatedAccountGroupMembershipsRequest.Builder clear()
Returns
Overrides
public ListRelatedAccountGroupMembershipsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ListRelatedAccountGroupMembershipsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPageSize()
public ListRelatedAccountGroupMembershipsRequest.Builder clearPageSize()
Optional. The maximum number of accounts to return. The service may return fewer than
this value.
If unspecified, at most 50 accounts 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 ListRelatedAccountGroupMembershipsRequest.Builder clearPageToken()
Optional. A page token, received from a previous ListRelatedAccountGroupMemberships
call.
When paginating, all other parameters provided to
ListRelatedAccountGroupMemberships
must match the call that provided the
page token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
public ListRelatedAccountGroupMembershipsRequest.Builder clearParent()
Required. The resource name for the related account group in the format
projects/{project}/relatedaccountgroups/{relatedaccountgroup}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public ListRelatedAccountGroupMembershipsRequest.Builder clone()
Returns
Overrides
public ListRelatedAccountGroupMembershipsRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPageSize()
Optional. The maximum number of accounts to return. The service may return fewer than
this value.
If unspecified, at most 50 accounts 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 ListRelatedAccountGroupMemberships
call.
When paginating, all other parameters provided to
ListRelatedAccountGroupMemberships
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 ListRelatedAccountGroupMemberships
call.
When paginating, all other parameters provided to
ListRelatedAccountGroupMemberships
must match the call that provided the
page token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
public String getParent()
Required. The resource name for the related account group in the format
projects/{project}/relatedaccountgroups/{relatedaccountgroup}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
public ByteString getParentBytes()
Required. The resource name for the related account group in the format
projects/{project}/relatedaccountgroups/{relatedaccountgroup}
.
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 ListRelatedAccountGroupMembershipsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListRelatedAccountGroupMembershipsRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public ListRelatedAccountGroupMembershipsRequest.Builder mergeFrom(ListRelatedAccountGroupMembershipsRequest other)
Parameter
Returns
public final ListRelatedAccountGroupMembershipsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListRelatedAccountGroupMembershipsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPageSize(int value)
public ListRelatedAccountGroupMembershipsRequest.Builder setPageSize(int value)
Optional. The maximum number of accounts to return. The service may return fewer than
this value.
If unspecified, at most 50 accounts 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 ListRelatedAccountGroupMembershipsRequest.Builder setPageToken(String value)
Optional. A page token, received from a previous ListRelatedAccountGroupMemberships
call.
When paginating, all other parameters provided to
ListRelatedAccountGroupMemberships
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 ListRelatedAccountGroupMembershipsRequest.Builder setPageTokenBytes(ByteString value)
Optional. A page token, received from a previous ListRelatedAccountGroupMemberships
call.
When paginating, all other parameters provided to
ListRelatedAccountGroupMemberships
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 ListRelatedAccountGroupMembershipsRequest.Builder setParent(String value)
Required. The resource name for the related account group in the format
projects/{project}/relatedaccountgroups/{relatedaccountgroup}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
public ListRelatedAccountGroupMembershipsRequest.Builder setParentBytes(ByteString value)
Required. The resource name for the related account group in the format
projects/{project}/relatedaccountgroups/{relatedaccountgroup}
.
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 ListRelatedAccountGroupMembershipsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ListRelatedAccountGroupMembershipsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides