Class ListRelatedAccountGroupsResponse.Builder (3.6.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.recaptchaenterprise.v1.RelatedAccountGroup>
Returns
TypeDescription
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
NameDescription
valueRelatedAccountGroup
Returns
TypeDescription
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
NameDescription
builderForValueRelatedAccountGroup.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRelatedAccountGroup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRelatedAccountGroup.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RelatedAccountGroup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListRelatedAccountGroupsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListRelatedAccountGroupsResponse.Builder
Overrides

build()

public ListRelatedAccountGroupsResponse build()
Returns
TypeDescription
ListRelatedAccountGroupsResponse

buildPartial()

public ListRelatedAccountGroupsResponse buildPartial()
Returns
TypeDescription
ListRelatedAccountGroupsResponse

clear()

public ListRelatedAccountGroupsResponse.Builder clear()
Returns
TypeDescription
ListRelatedAccountGroupsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListRelatedAccountGroupsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListRelatedAccountGroupsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListRelatedAccountGroupsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListRelatedAccountGroupsResponse.Builder

clone()

public ListRelatedAccountGroupsResponse.Builder clone()
Returns
TypeDescription
ListRelatedAccountGroupsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListRelatedAccountGroupsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListRelatedAccountGroupsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.recaptchaenterprise.v1.RelatedAccountGroupOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListRelatedAccountGroupsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListRelatedAccountGroupsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListRelatedAccountGroupsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListRelatedAccountGroupsResponse.Builder
Overrides

mergeFrom(ListRelatedAccountGroupsResponse other)

public ListRelatedAccountGroupsResponse.Builder mergeFrom(ListRelatedAccountGroupsResponse other)
Parameter
NameDescription
otherListRelatedAccountGroupsResponse
Returns
TypeDescription
ListRelatedAccountGroupsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListRelatedAccountGroupsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListRelatedAccountGroupsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListRelatedAccountGroupsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
indexint
valueRelatedAccountGroup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRelatedAccountGroup.Builder
Returns
TypeDescription
ListRelatedAccountGroupsResponse.Builder

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

public ListRelatedAccountGroupsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListRelatedAccountGroupsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListRelatedAccountGroupsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListRelatedAccountGroupsResponse.Builder
Overrides