public static final class ListRelatedAccountGroupsResponse.Builder extends GeneratedMessageV3.Builder<ListRelatedAccountGroupsResponse.Builder> implements ListRelatedAccountGroupsResponseOrBuilder
The response to a ListRelatedAccountGroups
call.
Protobuf type google.cloud.recaptchaenterprise.v1.ListRelatedAccountGroupsResponse
Methods
public ListRelatedAccountGroupsResponse.Builder addAllRelatedAccountGroups(Iterable<? extends RelatedAccountGroup> values)
The groups of related accounts listed by the query.
repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.recaptchaenterprise.v1.RelatedAccountGroup>
|
Returns
public ListRelatedAccountGroupsResponse.Builder addRelatedAccountGroups(RelatedAccountGroup value)
The groups of related accounts listed by the query.
repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;
Parameter
Returns
public ListRelatedAccountGroupsResponse.Builder addRelatedAccountGroups(RelatedAccountGroup.Builder builderForValue)
The groups of related accounts listed by the query.
repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;
Parameter
Returns
public ListRelatedAccountGroupsResponse.Builder addRelatedAccountGroups(int index, RelatedAccountGroup value)
The groups of related accounts listed by the query.
repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;
Parameters
Returns
public ListRelatedAccountGroupsResponse.Builder addRelatedAccountGroups(int index, RelatedAccountGroup.Builder builderForValue)
The groups of related accounts listed by the query.
repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;
Parameters
Returns
public RelatedAccountGroup.Builder addRelatedAccountGroupsBuilder()
The groups of related accounts listed by the query.
repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;
Returns
public RelatedAccountGroup.Builder addRelatedAccountGroupsBuilder(int index)
The groups of related accounts listed by the query.
repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;
Parameter
Returns
public ListRelatedAccountGroupsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListRelatedAccountGroupsResponse build()
Returns
public ListRelatedAccountGroupsResponse buildPartial()
Returns
public ListRelatedAccountGroupsResponse.Builder clear()
Returns
Overrides
public ListRelatedAccountGroupsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListRelatedAccountGroupsResponse.Builder clearNextPageToken()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns
public ListRelatedAccountGroupsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListRelatedAccountGroupsResponse.Builder clearRelatedAccountGroups()
The groups of related accounts listed by the query.
repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;
Returns
public ListRelatedAccountGroupsResponse.Builder clone()
Returns
Overrides
public ListRelatedAccountGroupsResponse getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
public RelatedAccountGroup getRelatedAccountGroups(int index)
The groups of related accounts listed by the query.
repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;
Parameter
Returns
public RelatedAccountGroup.Builder getRelatedAccountGroupsBuilder(int index)
The groups of related accounts listed by the query.
repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;
Parameter
Returns
public List<RelatedAccountGroup.Builder> getRelatedAccountGroupsBuilderList()
The groups of related accounts listed by the query.
repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;
Returns
public int getRelatedAccountGroupsCount()
The groups of related accounts listed by the query.
repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;
Returns
public List<RelatedAccountGroup> getRelatedAccountGroupsList()
The groups of related accounts listed by the query.
repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;
Returns
public RelatedAccountGroupOrBuilder getRelatedAccountGroupsOrBuilder(int index)
The groups of related accounts listed by the query.
repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;
Parameter
Returns
public List<? extends RelatedAccountGroupOrBuilder> getRelatedAccountGroupsOrBuilderList()
The groups of related accounts listed by the query.
repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;
Returns
Type | Description |
List<? extends com.google.recaptchaenterprise.v1.RelatedAccountGroupOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListRelatedAccountGroupsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListRelatedAccountGroupsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public ListRelatedAccountGroupsResponse.Builder mergeFrom(ListRelatedAccountGroupsResponse other)
Parameter
Returns
public final ListRelatedAccountGroupsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListRelatedAccountGroupsResponse.Builder removeRelatedAccountGroups(int index)
The groups of related accounts listed by the query.
repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;
Parameter
Returns
public ListRelatedAccountGroupsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListRelatedAccountGroupsResponse.Builder setNextPageToken(String value)
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListRelatedAccountGroupsResponse.Builder setNextPageTokenBytes(ByteString value)
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
public ListRelatedAccountGroupsResponse.Builder setRelatedAccountGroups(int index, RelatedAccountGroup value)
The groups of related accounts listed by the query.
repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;
Parameters
Returns
public ListRelatedAccountGroupsResponse.Builder setRelatedAccountGroups(int index, RelatedAccountGroup.Builder builderForValue)
The groups of related accounts listed by the query.
repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;
Parameters
Returns
public ListRelatedAccountGroupsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ListRelatedAccountGroupsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides