Class AccountDefenderAssessment (2.5.0)

public final class AccountDefenderAssessment extends GeneratedMessageV3 implements AccountDefenderAssessmentOrBuilder

Account Defender risk assessment.

Protobuf type google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment

Static Fields

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AccountDefenderAssessment getDefaultInstance()
Returns
TypeDescription
AccountDefenderAssessment

getDescriptor()

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

newBuilder()

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

newBuilder(AccountDefenderAssessment prototype)

public static AccountDefenderAssessment.Builder newBuilder(AccountDefenderAssessment prototype)
Parameter
NameDescription
prototypeAccountDefenderAssessment
Returns
TypeDescription
AccountDefenderAssessment.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AccountDefenderAssessment getDefaultInstanceForType()
Returns
TypeDescription
AccountDefenderAssessment

getLabels(int index)

public AccountDefenderAssessment.AccountDefenderLabel getLabels(int index)

Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
AccountDefenderAssessment.AccountDefenderLabel

The labels at the given index.

getLabelsCount()

public int getLabelsCount()

Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;

Returns
TypeDescription
int

The count of labels.

getLabelsList()

public List<AccountDefenderAssessment.AccountDefenderLabel> getLabelsList()

Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;

Returns
TypeDescription
List<AccountDefenderLabel>

A list containing the labels.

getLabelsValue(int index)

public int getLabelsValue(int index)

Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of labels at the given index.

getLabelsValueList()

public List<Integer> getLabelsValueList()

Labels for this request.

repeated .google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel labels = 1;

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for labels.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 AccountDefenderAssessment.Builder newBuilderForType()
Returns
TypeDescription
AccountDefenderAssessment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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