public final class RelatedAccountGroupMembership extends GeneratedMessageV3 implements RelatedAccountGroupMembershipOrBuilder
A membership in a group of related accounts.
Protobuf type google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership
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 | |
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static RelatedAccountGroupMembership getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static RelatedAccountGroupMembership.Builder newBuilder()
public static RelatedAccountGroupMembership.Builder newBuilder(RelatedAccountGroupMembership prototype)
public static RelatedAccountGroupMembership parseDelimitedFrom(InputStream input)
public static RelatedAccountGroupMembership parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RelatedAccountGroupMembership parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static RelatedAccountGroupMembership parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RelatedAccountGroupMembership parseFrom(ByteString data)
public static RelatedAccountGroupMembership parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RelatedAccountGroupMembership parseFrom(CodedInputStream input)
public static RelatedAccountGroupMembership parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RelatedAccountGroupMembership parseFrom(InputStream input)
public static RelatedAccountGroupMembership parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RelatedAccountGroupMembership parseFrom(ByteBuffer data)
public static RelatedAccountGroupMembership parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<RelatedAccountGroupMembership> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
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.
|
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.
|
public RelatedAccountGroupMembership getDefaultInstanceForType()
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 |
---|
Type | Description |
ByteString | The hashedAccountId.
|
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 |
---|
Type | Description |
String | The name.
|
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
public Parser<RelatedAccountGroupMembership> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RelatedAccountGroupMembership.Builder newBuilderForType()
protected RelatedAccountGroupMembership.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public RelatedAccountGroupMembership.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides