Class SearchRelatedAccountGroupMembershipsRequest (3.34.0)

public final class SearchRelatedAccountGroupMembershipsRequest extends GeneratedMessageV3 implements SearchRelatedAccountGroupMembershipsRequestOrBuilder

The request message to search related account group memberships.

Protobuf type google.cloud.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SearchRelatedAccountGroupMembershipsRequest

Static Fields

ACCOUNT_ID_FIELD_NUMBER

public static final int ACCOUNT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

HASHED_ACCOUNT_ID_FIELD_NUMBER

public static final int HASHED_ACCOUNT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

PAGE_SIZE_FIELD_NUMBER

public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
TypeDescription
int

PAGE_TOKEN_FIELD_NUMBER

public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECT_FIELD_NUMBER

public static final int PROJECT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SearchRelatedAccountGroupMembershipsRequest getDefaultInstance()
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest

getDescriptor()

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

newBuilder()

public static SearchRelatedAccountGroupMembershipsRequest.Builder newBuilder()
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest.Builder

newBuilder(SearchRelatedAccountGroupMembershipsRequest prototype)

public static SearchRelatedAccountGroupMembershipsRequest.Builder newBuilder(SearchRelatedAccountGroupMembershipsRequest prototype)
Parameter
NameDescription
prototypeSearchRelatedAccountGroupMembershipsRequest
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest.Builder

parseDelimitedFrom(InputStream input)

public static SearchRelatedAccountGroupMembershipsRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchRelatedAccountGroupMembershipsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SearchRelatedAccountGroupMembershipsRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SearchRelatedAccountGroupMembershipsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SearchRelatedAccountGroupMembershipsRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SearchRelatedAccountGroupMembershipsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SearchRelatedAccountGroupMembershipsRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchRelatedAccountGroupMembershipsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SearchRelatedAccountGroupMembershipsRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchRelatedAccountGroupMembershipsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SearchRelatedAccountGroupMembershipsRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SearchRelatedAccountGroupMembershipsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SearchRelatedAccountGroupMembershipsRequest> parser()
Returns
TypeDescription
Parser<SearchRelatedAccountGroupMembershipsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

getHashedAccountId() (deprecated)

public ByteString getHashedAccountId()

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

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.

getParserForType()

public Parser<SearchRelatedAccountGroupMembershipsRequest> getParserForType()
Returns
TypeDescription
Parser<SearchRelatedAccountGroupMembershipsRequest>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SearchRelatedAccountGroupMembershipsRequest.Builder newBuilderForType()
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SearchRelatedAccountGroupMembershipsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SearchRelatedAccountGroupMembershipsRequest.Builder toBuilder()
Returns
TypeDescription
SearchRelatedAccountGroupMembershipsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException