Class SearchRelatedAccountGroupMembershipsRequest.Builder (3.36.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchRelatedAccountGroupMembershipsRequest build()
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest

buildPartial()

public SearchRelatedAccountGroupMembershipsRequest buildPartial()
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest

clear()

public SearchRelatedAccountGroupMembershipsRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
SearchRelatedAccountGroupMembershipsRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

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
TypeDescription
SearchRelatedAccountGroupMembershipsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public SearchRelatedAccountGroupMembershipsRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for accountId.

getDefaultInstanceForType()

public SearchRelatedAccountGroupMembershipsRequest getDefaultInstanceForType()
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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=1838

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for project.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(SearchRelatedAccountGroupMembershipsRequest other)

public SearchRelatedAccountGroupMembershipsRequest.Builder mergeFrom(SearchRelatedAccountGroupMembershipsRequest other)
Parameter
NameDescription
otherSearchRelatedAccountGroupMembershipsRequest
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The accountId to set.

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

The bytes for accountId to set.

Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

The hashedAccountId to set.

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

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

The project to set.

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

The bytes for project to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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