Class SearchRelatedAccountGroupMembershipsRequest.Builder (3.2.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

clearField(Descriptors.FieldDescriptor field)

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

clearHashedAccountId()

public SearchRelatedAccountGroupMembershipsRequest.Builder clearHashedAccountId()

Optional. The unique stable hashed user identifier we should search connections to. The identifier should correspond to a hashed_account_id provided in a previous CreateAssessment or AnnotateAssessment call.

bytes hashed_account_id = 2 [(.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

getDefaultInstanceForType()

public SearchRelatedAccountGroupMembershipsRequest getDefaultInstanceForType()
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHashedAccountId()

public ByteString getHashedAccountId()

Optional. The unique stable hashed user identifier we should search connections to. The identifier should correspond to a hashed_account_id provided in a previous CreateAssessment or AnnotateAssessment call.

bytes hashed_account_id = 2 [(.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

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)

public SearchRelatedAccountGroupMembershipsRequest.Builder setHashedAccountId(ByteString value)

Optional. The unique stable hashed user identifier we should search connections to. The identifier should correspond to a hashed_account_id provided in a previous CreateAssessment or AnnotateAssessment call.

bytes hashed_account_id = 2 [(.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