Class RelatedAccountGroupMembership (3.30.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
TypeDescription
int

HASHED_ACCOUNT_ID_FIELD_NUMBER

public static final int HASHED_ACCOUNT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RelatedAccountGroupMembership getDefaultInstance()
Returns
TypeDescription
RelatedAccountGroupMembership

getDescriptor()

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

newBuilder()

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

newBuilder(RelatedAccountGroupMembership prototype)

public static RelatedAccountGroupMembership.Builder newBuilder(RelatedAccountGroupMembership prototype)
Parameter
NameDescription
prototypeRelatedAccountGroupMembership
Returns
TypeDescription
RelatedAccountGroupMembership.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

The bytes for accountId.

getDefaultInstanceForType()

public RelatedAccountGroupMembership getDefaultInstanceForType()
Returns
TypeDescription
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=1835

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
TypeDescription
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, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
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, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

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 RelatedAccountGroupMembership.Builder newBuilderForType()
Returns
TypeDescription
RelatedAccountGroupMembership.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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