Class RelatedAccountGroupMembership (3.51.0)

public final class RelatedAccountGroupMembership extends GeneratedMessageV3 implements RelatedAccountGroupMembershipOrBuilder

A membership in a group of related accounts.

Protobuf type google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership

Static Fields

ACCOUNT_ID_FIELD_NUMBER

public static final int ACCOUNT_ID_FIELD_NUMBER
Field Value
Type Description
int

HASHED_ACCOUNT_ID_FIELD_NUMBER

public static final int HASHED_ACCOUNT_ID_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RelatedAccountGroupMembership getDefaultInstance()
Returns
Type Description
RelatedAccountGroupMembership

getDescriptor()

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

newBuilder()

public static RelatedAccountGroupMembership.Builder newBuilder()
Returns
Type Description
RelatedAccountGroupMembership.Builder

newBuilder(RelatedAccountGroupMembership prototype)

public static RelatedAccountGroupMembership.Builder newBuilder(RelatedAccountGroupMembership prototype)
Parameter
Name Description
prototype RelatedAccountGroupMembership
Returns
Type Description
RelatedAccountGroupMembership.Builder

parseDelimitedFrom(InputStream input)

public static RelatedAccountGroupMembership parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RelatedAccountGroupMembership
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RelatedAccountGroupMembership parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelatedAccountGroupMembership
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RelatedAccountGroupMembership parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RelatedAccountGroupMembership
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RelatedAccountGroupMembership parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelatedAccountGroupMembership
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RelatedAccountGroupMembership parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RelatedAccountGroupMembership
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RelatedAccountGroupMembership parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelatedAccountGroupMembership
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RelatedAccountGroupMembership parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RelatedAccountGroupMembership
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RelatedAccountGroupMembership parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelatedAccountGroupMembership
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RelatedAccountGroupMembership parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RelatedAccountGroupMembership
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RelatedAccountGroupMembership parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelatedAccountGroupMembership
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RelatedAccountGroupMembership parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RelatedAccountGroupMembership
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RelatedAccountGroupMembership parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelatedAccountGroupMembership
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RelatedAccountGroupMembership> parser()
Returns
Type Description
Parser<RelatedAccountGroupMembership>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAccountId()

public String getAccountId()

The unique stable account identifier of the member. The identifier corresponds to an account_id provided in a previous CreateAssessment or AnnotateAssessment call.

string account_id = 4;

Returns
Type Description
String

The accountId.

getAccountIdBytes()

public ByteString getAccountIdBytes()

The unique stable account identifier of the member. The identifier corresponds to an account_id provided in a previous CreateAssessment or AnnotateAssessment call.

string account_id = 4;

Returns
Type Description
ByteString

The bytes for accountId.

getDefaultInstanceForType()

public RelatedAccountGroupMembership getDefaultInstanceForType()
Returns
Type Description
RelatedAccountGroupMembership

getHashedAccountId() (deprecated)

public ByteString getHashedAccountId()

Deprecated. google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership.hashed_account_id is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=2079

Deprecated: use account_id instead. The unique stable hashed account identifier of the member. The identifier corresponds to a hashed_account_id provided in a previous CreateAssessment or AnnotateAssessment call.

bytes hashed_account_id = 2 [deprecated = true];

Returns
Type Description
ByteString

The hashedAccountId.

getName()

public String getName()

Required. Identifier. The resource name for this membership in the format projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{membership}.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Identifier. The resource name for this membership in the format projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{membership}.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<RelatedAccountGroupMembership> getParserForType()
Returns
Type Description
Parser<RelatedAccountGroupMembership>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RelatedAccountGroupMembership.Builder newBuilderForType()
Returns
Type Description
RelatedAccountGroupMembership.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RelatedAccountGroupMembership.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RelatedAccountGroupMembership.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RelatedAccountGroupMembership.Builder toBuilder()
Returns
Type Description
RelatedAccountGroupMembership.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException