Class ListRelatedAccountGroupsResponse.Builder (3.50.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllRelatedAccountGroups(Iterable<? extends RelatedAccountGroup> values)

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
Type Description
ListRelatedAccountGroupsResponse.Builder

addRelatedAccountGroups(RelatedAccountGroup value)

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
Name Description
value RelatedAccountGroup
Returns
Type Description
ListRelatedAccountGroupsResponse.Builder

addRelatedAccountGroups(RelatedAccountGroup.Builder builderForValue)

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
Name Description
builderForValue RelatedAccountGroup.Builder
Returns
Type Description
ListRelatedAccountGroupsResponse.Builder

addRelatedAccountGroups(int index, RelatedAccountGroup value)

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
Name Description
index int
value RelatedAccountGroup
Returns
Type Description
ListRelatedAccountGroupsResponse.Builder

addRelatedAccountGroups(int index, RelatedAccountGroup.Builder builderForValue)

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
Name Description
index int
builderForValue RelatedAccountGroup.Builder
Returns
Type Description
ListRelatedAccountGroupsResponse.Builder

addRelatedAccountGroupsBuilder()

public RelatedAccountGroup.Builder addRelatedAccountGroupsBuilder()

The groups of related accounts listed by the query.

repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;

Returns
Type Description
RelatedAccountGroup.Builder

addRelatedAccountGroupsBuilder(int index)

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
Name Description
index int
Returns
Type Description
RelatedAccountGroup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListRelatedAccountGroupsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListRelatedAccountGroupsResponse.Builder
Overrides

build()

public ListRelatedAccountGroupsResponse build()
Returns
Type Description
ListRelatedAccountGroupsResponse

buildPartial()

public ListRelatedAccountGroupsResponse buildPartial()
Returns
Type Description
ListRelatedAccountGroupsResponse

clear()

public ListRelatedAccountGroupsResponse.Builder clear()
Returns
Type Description
ListRelatedAccountGroupsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListRelatedAccountGroupsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListRelatedAccountGroupsResponse.Builder
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
Type Description
ListRelatedAccountGroupsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListRelatedAccountGroupsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListRelatedAccountGroupsResponse.Builder
Overrides

clearRelatedAccountGroups()

public ListRelatedAccountGroupsResponse.Builder clearRelatedAccountGroups()

The groups of related accounts listed by the query.

repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;

Returns
Type Description
ListRelatedAccountGroupsResponse.Builder

clone()

public ListRelatedAccountGroupsResponse.Builder clone()
Returns
Type Description
ListRelatedAccountGroupsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListRelatedAccountGroupsResponse getDefaultInstanceForType()
Returns
Type Description
ListRelatedAccountGroupsResponse

getDescriptorForType()

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

getRelatedAccountGroups(int index)

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
Name Description
index int
Returns
Type Description
RelatedAccountGroup

getRelatedAccountGroupsBuilder(int index)

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
Name Description
index int
Returns
Type Description
RelatedAccountGroup.Builder

getRelatedAccountGroupsBuilderList()

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
Type Description
List<Builder>

getRelatedAccountGroupsCount()

public int getRelatedAccountGroupsCount()

The groups of related accounts listed by the query.

repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;

Returns
Type Description
int

getRelatedAccountGroupsList()

public List<RelatedAccountGroup> getRelatedAccountGroupsList()

The groups of related accounts listed by the query.

repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;

Returns
Type Description
List<RelatedAccountGroup>

getRelatedAccountGroupsOrBuilder(int index)

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
Name Description
index int
Returns
Type Description
RelatedAccountGroupOrBuilder

getRelatedAccountGroupsOrBuilderList()

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListRelatedAccountGroupsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListRelatedAccountGroupsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListRelatedAccountGroupsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListRelatedAccountGroupsResponse.Builder
Overrides

mergeFrom(ListRelatedAccountGroupsResponse other)

public ListRelatedAccountGroupsResponse.Builder mergeFrom(ListRelatedAccountGroupsResponse other)
Parameter
Name Description
other ListRelatedAccountGroupsResponse
Returns
Type Description
ListRelatedAccountGroupsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListRelatedAccountGroupsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListRelatedAccountGroupsResponse.Builder
Overrides

removeRelatedAccountGroups(int index)

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
Name Description
index int
Returns
Type Description
ListRelatedAccountGroupsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListRelatedAccountGroupsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListRelatedAccountGroupsResponse.Builder
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
Type Description
ListRelatedAccountGroupsResponse.Builder

This builder for chaining.

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
Type Description
ListRelatedAccountGroupsResponse.Builder

This builder for chaining.

setRelatedAccountGroups(int index, RelatedAccountGroup value)

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
Name Description
index int
value RelatedAccountGroup
Returns
Type Description
ListRelatedAccountGroupsResponse.Builder

setRelatedAccountGroups(int index, RelatedAccountGroup.Builder builderForValue)

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
Name Description
index int
builderForValue RelatedAccountGroup.Builder
Returns
Type Description
ListRelatedAccountGroupsResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListRelatedAccountGroupsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListRelatedAccountGroupsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListRelatedAccountGroupsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListRelatedAccountGroupsResponse.Builder
Overrides