Class ListRelatedAccountGroupMembershipsResponse.Builder (3.18.0)

public static final class ListRelatedAccountGroupMembershipsResponse.Builder extends GeneratedMessageV3.Builder<ListRelatedAccountGroupMembershipsResponse.Builder> implements ListRelatedAccountGroupMembershipsResponseOrBuilder

The response to a ListRelatedAccountGroupMemberships call.

Protobuf type google.cloud.recaptchaenterprise.v1.ListRelatedAccountGroupMembershipsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllRelatedAccountGroupMemberships(Iterable<? extends RelatedAccountGroupMembership> values)

public ListRelatedAccountGroupMembershipsResponse.Builder addAllRelatedAccountGroupMemberships(Iterable<? extends RelatedAccountGroupMembership> values)

The memberships listed by the query.

repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership related_account_group_memberships = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.recaptchaenterprise.v1.RelatedAccountGroupMembership>
Returns
TypeDescription
ListRelatedAccountGroupMembershipsResponse.Builder

addRelatedAccountGroupMemberships(RelatedAccountGroupMembership value)

public ListRelatedAccountGroupMembershipsResponse.Builder addRelatedAccountGroupMemberships(RelatedAccountGroupMembership value)

The memberships listed by the query.

repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership related_account_group_memberships = 1;

Parameter
NameDescription
valueRelatedAccountGroupMembership
Returns
TypeDescription
ListRelatedAccountGroupMembershipsResponse.Builder

addRelatedAccountGroupMemberships(RelatedAccountGroupMembership.Builder builderForValue)

public ListRelatedAccountGroupMembershipsResponse.Builder addRelatedAccountGroupMemberships(RelatedAccountGroupMembership.Builder builderForValue)

The memberships listed by the query.

repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership related_account_group_memberships = 1;

Parameter
NameDescription
builderForValueRelatedAccountGroupMembership.Builder
Returns
TypeDescription
ListRelatedAccountGroupMembershipsResponse.Builder

addRelatedAccountGroupMemberships(int index, RelatedAccountGroupMembership value)

public ListRelatedAccountGroupMembershipsResponse.Builder addRelatedAccountGroupMemberships(int index, RelatedAccountGroupMembership value)

The memberships listed by the query.

repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership related_account_group_memberships = 1;

Parameters
NameDescription
indexint
valueRelatedAccountGroupMembership
Returns
TypeDescription
ListRelatedAccountGroupMembershipsResponse.Builder

addRelatedAccountGroupMemberships(int index, RelatedAccountGroupMembership.Builder builderForValue)

public ListRelatedAccountGroupMembershipsResponse.Builder addRelatedAccountGroupMemberships(int index, RelatedAccountGroupMembership.Builder builderForValue)

The memberships listed by the query.

repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership related_account_group_memberships = 1;

Parameters
NameDescription
indexint
builderForValueRelatedAccountGroupMembership.Builder
Returns
TypeDescription
ListRelatedAccountGroupMembershipsResponse.Builder

addRelatedAccountGroupMembershipsBuilder()

public RelatedAccountGroupMembership.Builder addRelatedAccountGroupMembershipsBuilder()

The memberships listed by the query.

repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership related_account_group_memberships = 1;

Returns
TypeDescription
RelatedAccountGroupMembership.Builder

addRelatedAccountGroupMembershipsBuilder(int index)

public RelatedAccountGroupMembership.Builder addRelatedAccountGroupMembershipsBuilder(int index)

The memberships listed by the query.

repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership related_account_group_memberships = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
RelatedAccountGroupMembership.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListRelatedAccountGroupMembershipsResponse build()
Returns
TypeDescription
ListRelatedAccountGroupMembershipsResponse

buildPartial()

public ListRelatedAccountGroupMembershipsResponse buildPartial()
Returns
TypeDescription
ListRelatedAccountGroupMembershipsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListRelatedAccountGroupMembershipsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListRelatedAccountGroupMembershipsResponse.Builder
Overrides

clearNextPageToken()

public ListRelatedAccountGroupMembershipsResponse.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
ListRelatedAccountGroupMembershipsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListRelatedAccountGroupMembershipsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListRelatedAccountGroupMembershipsResponse.Builder
Overrides

clearRelatedAccountGroupMemberships()

public ListRelatedAccountGroupMembershipsResponse.Builder clearRelatedAccountGroupMemberships()

The memberships listed by the query.

repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership related_account_group_memberships = 1;

Returns
TypeDescription
ListRelatedAccountGroupMembershipsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListRelatedAccountGroupMembershipsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListRelatedAccountGroupMembershipsResponse

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.

getRelatedAccountGroupMemberships(int index)

public RelatedAccountGroupMembership getRelatedAccountGroupMemberships(int index)

The memberships listed by the query.

repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership related_account_group_memberships = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
RelatedAccountGroupMembership

getRelatedAccountGroupMembershipsBuilder(int index)

public RelatedAccountGroupMembership.Builder getRelatedAccountGroupMembershipsBuilder(int index)

The memberships listed by the query.

repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership related_account_group_memberships = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
RelatedAccountGroupMembership.Builder

getRelatedAccountGroupMembershipsBuilderList()

public List<RelatedAccountGroupMembership.Builder> getRelatedAccountGroupMembershipsBuilderList()

The memberships listed by the query.

repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership related_account_group_memberships = 1;

Returns
TypeDescription
List<Builder>

getRelatedAccountGroupMembershipsCount()

public int getRelatedAccountGroupMembershipsCount()

The memberships listed by the query.

repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership related_account_group_memberships = 1;

Returns
TypeDescription
int

getRelatedAccountGroupMembershipsList()

public List<RelatedAccountGroupMembership> getRelatedAccountGroupMembershipsList()

The memberships listed by the query.

repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership related_account_group_memberships = 1;

Returns
TypeDescription
List<RelatedAccountGroupMembership>

getRelatedAccountGroupMembershipsOrBuilder(int index)

public RelatedAccountGroupMembershipOrBuilder getRelatedAccountGroupMembershipsOrBuilder(int index)

The memberships listed by the query.

repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership related_account_group_memberships = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
RelatedAccountGroupMembershipOrBuilder

getRelatedAccountGroupMembershipsOrBuilderList()

public List<? extends RelatedAccountGroupMembershipOrBuilder> getRelatedAccountGroupMembershipsOrBuilderList()

The memberships listed by the query.

repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership related_account_group_memberships = 1;

Returns
TypeDescription
List<? extends com.google.recaptchaenterprise.v1.RelatedAccountGroupMembershipOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(ListRelatedAccountGroupMembershipsResponse other)

public ListRelatedAccountGroupMembershipsResponse.Builder mergeFrom(ListRelatedAccountGroupMembershipsResponse other)
Parameter
NameDescription
otherListRelatedAccountGroupMembershipsResponse
Returns
TypeDescription
ListRelatedAccountGroupMembershipsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListRelatedAccountGroupMembershipsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListRelatedAccountGroupMembershipsResponse.Builder
Overrides

removeRelatedAccountGroupMemberships(int index)

public ListRelatedAccountGroupMembershipsResponse.Builder removeRelatedAccountGroupMemberships(int index)

The memberships listed by the query.

repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership related_account_group_memberships = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListRelatedAccountGroupMembershipsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListRelatedAccountGroupMembershipsResponse.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
ListRelatedAccountGroupMembershipsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListRelatedAccountGroupMembershipsResponse.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
ListRelatedAccountGroupMembershipsResponse.Builder

This builder for chaining.

setRelatedAccountGroupMemberships(int index, RelatedAccountGroupMembership value)

public ListRelatedAccountGroupMembershipsResponse.Builder setRelatedAccountGroupMemberships(int index, RelatedAccountGroupMembership value)

The memberships listed by the query.

repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership related_account_group_memberships = 1;

Parameters
NameDescription
indexint
valueRelatedAccountGroupMembership
Returns
TypeDescription
ListRelatedAccountGroupMembershipsResponse.Builder

setRelatedAccountGroupMemberships(int index, RelatedAccountGroupMembership.Builder builderForValue)

public ListRelatedAccountGroupMembershipsResponse.Builder setRelatedAccountGroupMemberships(int index, RelatedAccountGroupMembership.Builder builderForValue)

The memberships listed by the query.

repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership related_account_group_memberships = 1;

Parameters
NameDescription
indexint
builderForValueRelatedAccountGroupMembership.Builder
Returns
TypeDescription
ListRelatedAccountGroupMembershipsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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