Class SearchRelatedAccountGroupMembershipsRequest.Builder (3.41.0)

public static final class SearchRelatedAccountGroupMembershipsRequest.Builder extends GeneratedMessageV3.Builder<SearchRelatedAccountGroupMembershipsRequest.Builder> implements SearchRelatedAccountGroupMembershipsRequestOrBuilder

The request message to search related account group memberships.

Protobuf type google.cloud.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchRelatedAccountGroupMembershipsRequest build()
Returns
Type Description
SearchRelatedAccountGroupMembershipsRequest

buildPartial()

public SearchRelatedAccountGroupMembershipsRequest buildPartial()
Returns
Type Description
SearchRelatedAccountGroupMembershipsRequest

clear()

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

clearAccountId()

public SearchRelatedAccountGroupMembershipsRequest.Builder clearAccountId()

Optional. The unique stable account identifier used to search connections. The identifier should correspond to an account_id provided in a previous CreateAssessment or AnnotateAssessment call. Either hashed_account_id or account_id must be set, but not both.

string account_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchRelatedAccountGroupMembershipsRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SearchRelatedAccountGroupMembershipsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchRelatedAccountGroupMembershipsRequest.Builder
Overrides

clearHashedAccountId() (deprecated)

public SearchRelatedAccountGroupMembershipsRequest.Builder clearHashedAccountId()

Deprecated. google.cloud.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsRequest.hashed_account_id is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1860

Optional. Deprecated: use account_id instead. The unique stable hashed account identifier used to search connections. The identifier should correspond to a hashed_account_id provided in a previous CreateAssessment or AnnotateAssessment call. Either hashed_account_id or account_id must be set, but not both.

bytes hashed_account_id = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchRelatedAccountGroupMembershipsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public SearchRelatedAccountGroupMembershipsRequest.Builder clearPageSize()

Optional. The maximum number of groups to return. The service might return fewer than this value. If unspecified, at most 50 groups are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchRelatedAccountGroupMembershipsRequest.Builder

This builder for chaining.

clearPageToken()

public SearchRelatedAccountGroupMembershipsRequest.Builder clearPageToken()

Optional. A page token, received from a previous SearchRelatedAccountGroupMemberships call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to SearchRelatedAccountGroupMemberships must match the call that provided the page token.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchRelatedAccountGroupMembershipsRequest.Builder

This builder for chaining.

clearProject()

public SearchRelatedAccountGroupMembershipsRequest.Builder clearProject()

Required. The name of the project to search related account group memberships from. Specify the project name in the following format: projects/{project}.

string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
SearchRelatedAccountGroupMembershipsRequest.Builder

This builder for chaining.

clone()

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

getAccountId()

public String getAccountId()

Optional. The unique stable account identifier used to search connections. The identifier should correspond to an account_id provided in a previous CreateAssessment or AnnotateAssessment call. Either hashed_account_id or account_id must be set, but not both.

string account_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The accountId.

getAccountIdBytes()

public ByteString getAccountIdBytes()

Optional. The unique stable account identifier used to search connections. The identifier should correspond to an account_id provided in a previous CreateAssessment or AnnotateAssessment call. Either hashed_account_id or account_id must be set, but not both.

string account_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for accountId.

getDefaultInstanceForType()

public SearchRelatedAccountGroupMembershipsRequest getDefaultInstanceForType()
Returns
Type Description
SearchRelatedAccountGroupMembershipsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHashedAccountId() (deprecated)

public ByteString getHashedAccountId()

Deprecated. google.cloud.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsRequest.hashed_account_id is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1860

Optional. Deprecated: use account_id instead. The unique stable hashed account identifier used to search connections. The identifier should correspond to a hashed_account_id provided in a previous CreateAssessment or AnnotateAssessment call. Either hashed_account_id or account_id must be set, but not both.

bytes hashed_account_id = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The hashedAccountId.

getPageSize()

public int getPageSize()

Optional. The maximum number of groups to return. The service might return fewer than this value. If unspecified, at most 50 groups are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. A page token, received from a previous SearchRelatedAccountGroupMemberships call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to SearchRelatedAccountGroupMemberships must match the call that provided the page token.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A page token, received from a previous SearchRelatedAccountGroupMemberships call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to SearchRelatedAccountGroupMemberships must match the call that provided the page token.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getProject()

public String getProject()

Required. The name of the project to search related account group memberships from. Specify the project name in the following format: projects/{project}.

string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Required. The name of the project to search related account group memberships from. Specify the project name in the following format: projects/{project}.

string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for project.

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 SearchRelatedAccountGroupMembershipsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchRelatedAccountGroupMembershipsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(SearchRelatedAccountGroupMembershipsRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAccountId(String value)

public SearchRelatedAccountGroupMembershipsRequest.Builder setAccountId(String value)

Optional. The unique stable account identifier used to search connections. The identifier should correspond to an account_id provided in a previous CreateAssessment or AnnotateAssessment call. Either hashed_account_id or account_id must be set, but not both.

string account_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The accountId to set.

Returns
Type Description
SearchRelatedAccountGroupMembershipsRequest.Builder

This builder for chaining.

setAccountIdBytes(ByteString value)

public SearchRelatedAccountGroupMembershipsRequest.Builder setAccountIdBytes(ByteString value)

Optional. The unique stable account identifier used to search connections. The identifier should correspond to an account_id provided in a previous CreateAssessment or AnnotateAssessment call. Either hashed_account_id or account_id must be set, but not both.

string account_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for accountId to set.

Returns
Type Description
SearchRelatedAccountGroupMembershipsRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setHashedAccountId(ByteString value) (deprecated)

public SearchRelatedAccountGroupMembershipsRequest.Builder setHashedAccountId(ByteString value)

Deprecated. google.cloud.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsRequest.hashed_account_id is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1860

Optional. Deprecated: use account_id instead. The unique stable hashed account identifier used to search connections. The identifier should correspond to a hashed_account_id provided in a previous CreateAssessment or AnnotateAssessment call. Either hashed_account_id or account_id must be set, but not both.

bytes hashed_account_id = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The hashedAccountId to set.

Returns
Type Description
SearchRelatedAccountGroupMembershipsRequest.Builder

This builder for chaining.

setPageSize(int value)

public SearchRelatedAccountGroupMembershipsRequest.Builder setPageSize(int value)

Optional. The maximum number of groups to return. The service might return fewer than this value. If unspecified, at most 50 groups are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
SearchRelatedAccountGroupMembershipsRequest.Builder

This builder for chaining.

setPageToken(String value)

public SearchRelatedAccountGroupMembershipsRequest.Builder setPageToken(String value)

Optional. A page token, received from a previous SearchRelatedAccountGroupMemberships call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to SearchRelatedAccountGroupMemberships must match the call that provided the page token.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
SearchRelatedAccountGroupMembershipsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public SearchRelatedAccountGroupMembershipsRequest.Builder setPageTokenBytes(ByteString value)

Optional. A page token, received from a previous SearchRelatedAccountGroupMemberships call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to SearchRelatedAccountGroupMemberships must match the call that provided the page token.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
SearchRelatedAccountGroupMembershipsRequest.Builder

This builder for chaining.

setProject(String value)

public SearchRelatedAccountGroupMembershipsRequest.Builder setProject(String value)

Required. The name of the project to search related account group memberships from. Specify the project name in the following format: projects/{project}.

string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The project to set.

Returns
Type Description
SearchRelatedAccountGroupMembershipsRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public SearchRelatedAccountGroupMembershipsRequest.Builder setProjectBytes(ByteString value)

Required. The name of the project to search related account group memberships from. Specify the project name in the following format: projects/{project}.

string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
SearchRelatedAccountGroupMembershipsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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