Class RelatedAccountGroup (3.33.0)

public final class RelatedAccountGroup extends GeneratedMessageV3 implements RelatedAccountGroupOrBuilder

A group of related accounts.

Protobuf type google.cloud.recaptchaenterprise.v1.RelatedAccountGroup

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RelatedAccountGroup getDefaultInstance()
Returns
TypeDescription
RelatedAccountGroup

getDescriptor()

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

newBuilder()

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

newBuilder(RelatedAccountGroup prototype)

public static RelatedAccountGroup.Builder newBuilder(RelatedAccountGroup prototype)
Parameter
NameDescription
prototypeRelatedAccountGroup
Returns
TypeDescription
RelatedAccountGroup.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RelatedAccountGroup getDefaultInstanceForType()
Returns
TypeDescription
RelatedAccountGroup

getName()

public String getName()

Required. Identifier. The resource name for the related account group in the format projects/{project}/relatedaccountgroups/{related_account_group}.

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 the related account group in the format projects/{project}/relatedaccountgroups/{related_account_group}.

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<RelatedAccountGroup> getParserForType()
Returns
TypeDescription
Parser<RelatedAccountGroup>
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 RelatedAccountGroup.Builder newBuilderForType()
Returns
TypeDescription
RelatedAccountGroup.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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