Class SearchRelatedAccountGroupMembershipsResponse.Builder (2.5.0)

public static final class SearchRelatedAccountGroupMembershipsResponse.Builder extends GeneratedMessageV3.Builder<SearchRelatedAccountGroupMembershipsResponse.Builder> implements SearchRelatedAccountGroupMembershipsResponseOrBuilder

The response to a SearchRelatedAccountGroupMemberships call.

Protobuf type google.cloud.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsResponse

Static Methods

getDescriptor()

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

Methods

addAllRelatedAccountGroupMemberships(Iterable<? extends RelatedAccountGroupMembership> values)

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

The queried memberships.

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

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

addRelatedAccountGroupMemberships(RelatedAccountGroupMembership value)

public SearchRelatedAccountGroupMembershipsResponse.Builder addRelatedAccountGroupMemberships(RelatedAccountGroupMembership value)

The queried memberships.

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

Parameter
NameDescription
valueRelatedAccountGroupMembership
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsResponse.Builder

addRelatedAccountGroupMemberships(RelatedAccountGroupMembership.Builder builderForValue)

public SearchRelatedAccountGroupMembershipsResponse.Builder addRelatedAccountGroupMemberships(RelatedAccountGroupMembership.Builder builderForValue)

The queried memberships.

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

Parameter
NameDescription
builderForValueRelatedAccountGroupMembership.Builder
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsResponse.Builder

addRelatedAccountGroupMemberships(int index, RelatedAccountGroupMembership value)

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

The queried memberships.

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

Parameters
NameDescription
indexint
valueRelatedAccountGroupMembership
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsResponse.Builder

addRelatedAccountGroupMemberships(int index, RelatedAccountGroupMembership.Builder builderForValue)

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

The queried memberships.

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

Parameters
NameDescription
indexint
builderForValueRelatedAccountGroupMembership.Builder
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsResponse.Builder

addRelatedAccountGroupMembershipsBuilder()

public RelatedAccountGroupMembership.Builder addRelatedAccountGroupMembershipsBuilder()

The queried memberships.

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 queried memberships.

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 SearchRelatedAccountGroupMembershipsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsResponse.Builder
Overrides

build()

public SearchRelatedAccountGroupMembershipsResponse build()
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsResponse

buildPartial()

public SearchRelatedAccountGroupMembershipsResponse buildPartial()
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRelatedAccountGroupMemberships()

public SearchRelatedAccountGroupMembershipsResponse.Builder clearRelatedAccountGroupMemberships()

The queried memberships.

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

Returns
TypeDescription
SearchRelatedAccountGroupMembershipsResponse.Builder

clone()

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

getDefaultInstanceForType()

public SearchRelatedAccountGroupMembershipsResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsResponse

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 queried memberships.

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 queried memberships.

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 queried memberships.

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

Returns
TypeDescription
List<Builder>

getRelatedAccountGroupMembershipsCount()

public int getRelatedAccountGroupMembershipsCount()

The queried memberships.

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

Returns
TypeDescription
int

getRelatedAccountGroupMembershipsList()

public List<RelatedAccountGroupMembership> getRelatedAccountGroupMembershipsList()

The queried memberships.

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

Returns
TypeDescription
List<RelatedAccountGroupMembership>

getRelatedAccountGroupMembershipsOrBuilder(int index)

public RelatedAccountGroupMembershipOrBuilder getRelatedAccountGroupMembershipsOrBuilder(int index)

The queried memberships.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RelatedAccountGroupMembershipOrBuilder

getRelatedAccountGroupMembershipsOrBuilderList()

public List<? extends RelatedAccountGroupMembershipOrBuilder> getRelatedAccountGroupMembershipsOrBuilderList()

The queried memberships.

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 SearchRelatedAccountGroupMembershipsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

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

mergeFrom(SearchRelatedAccountGroupMembershipsResponse other)

public SearchRelatedAccountGroupMembershipsResponse.Builder mergeFrom(SearchRelatedAccountGroupMembershipsResponse other)
Parameter
NameDescription
otherSearchRelatedAccountGroupMembershipsResponse
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeRelatedAccountGroupMemberships(int index)

public SearchRelatedAccountGroupMembershipsResponse.Builder removeRelatedAccountGroupMemberships(int index)

The queried memberships.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

setRelatedAccountGroupMemberships(int index, RelatedAccountGroupMembership value)

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

The queried memberships.

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

Parameters
NameDescription
indexint
valueRelatedAccountGroupMembership
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsResponse.Builder

setRelatedAccountGroupMemberships(int index, RelatedAccountGroupMembership.Builder builderForValue)

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

The queried memberships.

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

Parameters
NameDescription
indexint
builderForValueRelatedAccountGroupMembership.Builder
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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