public final class SearchRelatedAccountGroupMembershipsRequest extends GeneratedMessageV3 implements SearchRelatedAccountGroupMembershipsRequestOrBuilder
The request message to search related account group memberships.
Protobuf type
google.cloud.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ACCOUNT_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int HASHED_ACCOUNT_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PROJECT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static SearchRelatedAccountGroupMembershipsRequest getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static SearchRelatedAccountGroupMembershipsRequest.Builder newBuilder()
public static SearchRelatedAccountGroupMembershipsRequest.Builder newBuilder(SearchRelatedAccountGroupMembershipsRequest prototype)
public static SearchRelatedAccountGroupMembershipsRequest parseDelimitedFrom(InputStream input)
public static SearchRelatedAccountGroupMembershipsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SearchRelatedAccountGroupMembershipsRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static SearchRelatedAccountGroupMembershipsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SearchRelatedAccountGroupMembershipsRequest parseFrom(ByteString data)
public static SearchRelatedAccountGroupMembershipsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchRelatedAccountGroupMembershipsRequest parseFrom(CodedInputStream input)
public static SearchRelatedAccountGroupMembershipsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SearchRelatedAccountGroupMembershipsRequest parseFrom(InputStream input)
public static SearchRelatedAccountGroupMembershipsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SearchRelatedAccountGroupMembershipsRequest parseFrom(ByteBuffer data)
public static SearchRelatedAccountGroupMembershipsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<SearchRelatedAccountGroupMembershipsRequest> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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.
|
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.
|
public SearchRelatedAccountGroupMembershipsRequest getDefaultInstanceForType()
public ByteString getHashedAccountId()
Deprecated. google.cloud.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsRequest.hashed_account_id
is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=1916
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()
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.
|
public Parser<SearchRelatedAccountGroupMembershipsRequest> getParserForType()
Overrides
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.
|
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.
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public SearchRelatedAccountGroupMembershipsRequest.Builder newBuilderForType()
protected SearchRelatedAccountGroupMembershipsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public SearchRelatedAccountGroupMembershipsRequest.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides