public final class RelatedAccountGroupMembership extends GeneratedMessageV3 implements RelatedAccountGroupMembershipOrBuilder
A membership in a group of related accounts.
Protobuf type google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership
Fields
public static final int HASHED_ACCOUNT_ID_FIELD_NUMBER
Field Value
public static final int NAME_FIELD_NUMBER
Field Value
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public static RelatedAccountGroupMembership getDefaultInstance()
Returns
public RelatedAccountGroupMembership getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public ByteString getHashedAccountId()
The unique stable hashed user 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;
Returns
Required. The resource name for this membership in the format
projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{membership}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Required. The resource name for this membership in the format
projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{membership}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public Parser<RelatedAccountGroupMembership> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public static RelatedAccountGroupMembership.Builder newBuilder()
Returns
public static RelatedAccountGroupMembership.Builder newBuilder(RelatedAccountGroupMembership prototype)
Parameter
Returns
public RelatedAccountGroupMembership.Builder newBuilderForType()
Returns
protected RelatedAccountGroupMembership.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static RelatedAccountGroupMembership parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static RelatedAccountGroupMembership parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RelatedAccountGroupMembership parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static RelatedAccountGroupMembership parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RelatedAccountGroupMembership parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static RelatedAccountGroupMembership parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RelatedAccountGroupMembership parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static RelatedAccountGroupMembership parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RelatedAccountGroupMembership parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static RelatedAccountGroupMembership parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RelatedAccountGroupMembership parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static RelatedAccountGroupMembership parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<RelatedAccountGroupMembership> parser()
Returns
public RelatedAccountGroupMembership.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions