public final class Assessment extends com.google.protobuf.GeneratedMessageV3 implements AssessmentOrBuilder
A recaptcha assessment resource.Protobuf type
google.cloud.recaptchaenterprise.v1.Assessment| Modifier and Type | Class and Description |
|---|---|
static class |
Assessment.Builder
A recaptcha assessment resource.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
EVENT_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
RISK_ANALYSIS_FIELD_NUMBER |
static int |
TOKEN_PROPERTIES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Assessment |
getDefaultInstance() |
Assessment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Event |
getEvent()
The event being assessed.
|
EventOrBuilder |
getEventOrBuilder()
The event being assessed.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Parser<Assessment> |
getParserForType() |
RiskAnalysis |
getRiskAnalysis()
Output only.
|
RiskAnalysisOrBuilder |
getRiskAnalysisOrBuilder()
Output only.
|
int |
getSerializedSize() |
TokenProperties |
getTokenProperties()
Output only.
|
TokenPropertiesOrBuilder |
getTokenPropertiesOrBuilder()
Output only.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEvent()
The event being assessed.
|
int |
hashCode() |
boolean |
hasRiskAnalysis()
Output only.
|
boolean |
hasTokenProperties()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Assessment.Builder |
newBuilder() |
static Assessment.Builder |
newBuilder(Assessment prototype) |
Assessment.Builder |
newBuilderForType() |
protected Assessment.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Assessment |
parseDelimitedFrom(InputStream input) |
static Assessment |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Assessment |
parseFrom(byte[] data) |
static Assessment |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Assessment |
parseFrom(ByteBuffer data) |
static Assessment |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Assessment |
parseFrom(com.google.protobuf.ByteString data) |
static Assessment |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Assessment |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Assessment |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Assessment |
parseFrom(InputStream input) |
static Assessment |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Assessment> |
parser() |
Assessment.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int EVENT_FIELD_NUMBER
public static final int RISK_ANALYSIS_FIELD_NUMBER
public static final int TOKEN_PROPERTIES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Output only. The resource name for the Assessment in the format
"projects/{project}/assessments/{assessment}".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface AssessmentOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The resource name for the Assessment in the format
"projects/{project}/assessments/{assessment}".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface AssessmentOrBuilderpublic boolean hasEvent()
The event being assessed.
.google.cloud.recaptchaenterprise.v1.Event event = 2;hasEvent in interface AssessmentOrBuilderpublic Event getEvent()
The event being assessed.
.google.cloud.recaptchaenterprise.v1.Event event = 2;getEvent in interface AssessmentOrBuilderpublic EventOrBuilder getEventOrBuilder()
The event being assessed.
.google.cloud.recaptchaenterprise.v1.Event event = 2;getEventOrBuilder in interface AssessmentOrBuilderpublic boolean hasRiskAnalysis()
Output only. The risk analysis result for the event being assessed.
.google.cloud.recaptchaenterprise.v1.RiskAnalysis risk_analysis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasRiskAnalysis in interface AssessmentOrBuilderpublic RiskAnalysis getRiskAnalysis()
Output only. The risk analysis result for the event being assessed.
.google.cloud.recaptchaenterprise.v1.RiskAnalysis risk_analysis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRiskAnalysis in interface AssessmentOrBuilderpublic RiskAnalysisOrBuilder getRiskAnalysisOrBuilder()
Output only. The risk analysis result for the event being assessed.
.google.cloud.recaptchaenterprise.v1.RiskAnalysis risk_analysis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRiskAnalysisOrBuilder in interface AssessmentOrBuilderpublic boolean hasTokenProperties()
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasTokenProperties in interface AssessmentOrBuilderpublic TokenProperties getTokenProperties()
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTokenProperties in interface AssessmentOrBuilderpublic TokenPropertiesOrBuilder getTokenPropertiesOrBuilder()
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTokenPropertiesOrBuilder in interface AssessmentOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Assessment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Assessment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Assessment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Assessment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Assessment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Assessment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Assessment parseFrom(InputStream input) throws IOException
IOExceptionpublic static Assessment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Assessment parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Assessment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Assessment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Assessment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Assessment.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Assessment.Builder newBuilder()
public static Assessment.Builder newBuilder(Assessment prototype)
public Assessment.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Assessment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Assessment getDefaultInstance()
public static com.google.protobuf.Parser<Assessment> parser()
public com.google.protobuf.Parser<Assessment> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Assessment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2021 Google LLC. All rights reserved.