public final class TokenProperties extends com.google.protobuf.GeneratedMessageV3 implements TokenPropertiesOrBuilder
google.cloud.recaptchaenterprise.v1.TokenProperties| Modifier and Type | Class and Description |
|---|---|
static class |
TokenProperties.Builder
Protobuf type
google.cloud.recaptchaenterprise.v1.TokenProperties |
static class |
TokenProperties.InvalidReason
LINT.IfChange
Enum that represents the types of invalid token reasons.
|
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 |
ACTION_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
HOSTNAME_FIELD_NUMBER |
static int |
INVALID_REASON_FIELD_NUMBER |
static int |
VALID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAction()
Action name provided at token generation.
|
com.google.protobuf.ByteString |
getActionBytes()
Action name provided at token generation.
|
com.google.protobuf.Timestamp |
getCreateTime()
The timestamp corresponding to the generation of the token.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
The timestamp corresponding to the generation of the token.
|
static TokenProperties |
getDefaultInstance() |
TokenProperties |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getHostname()
The hostname of the page on which the token was generated.
|
com.google.protobuf.ByteString |
getHostnameBytes()
The hostname of the page on which the token was generated.
|
TokenProperties.InvalidReason |
getInvalidReason()
Reason associated with the response when valid = false.
|
int |
getInvalidReasonValue()
Reason associated with the response when valid = false.
|
com.google.protobuf.Parser<TokenProperties> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
getValid()
Whether the provided user response token is valid.
|
boolean |
hasCreateTime()
The timestamp corresponding to the generation of the token.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TokenProperties.Builder |
newBuilder() |
static TokenProperties.Builder |
newBuilder(TokenProperties prototype) |
TokenProperties.Builder |
newBuilderForType() |
protected TokenProperties.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TokenProperties |
parseDelimitedFrom(InputStream input) |
static TokenProperties |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TokenProperties |
parseFrom(byte[] data) |
static TokenProperties |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TokenProperties |
parseFrom(ByteBuffer data) |
static TokenProperties |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TokenProperties |
parseFrom(com.google.protobuf.ByteString data) |
static TokenProperties |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TokenProperties |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TokenProperties |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TokenProperties |
parseFrom(InputStream input) |
static TokenProperties |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TokenProperties> |
parser() |
TokenProperties.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 VALID_FIELD_NUMBER
public static final int INVALID_REASON_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int HOSTNAME_FIELD_NUMBER
public static final int ACTION_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 boolean getValid()
Whether the provided user response token is valid. When valid = false, the reason could be specified in invalid_reason or it could also be due to a user failing to solve a challenge or a sitekey mismatch (i.e the sitekey used to generate the token was different than the one specified in the assessment).
bool valid = 1;getValid in interface TokenPropertiesOrBuilderpublic int getInvalidReasonValue()
Reason associated with the response when valid = false.
.google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2;
getInvalidReasonValue in interface TokenPropertiesOrBuilderpublic TokenProperties.InvalidReason getInvalidReason()
Reason associated with the response when valid = false.
.google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2;
getInvalidReason in interface TokenPropertiesOrBuilderpublic boolean hasCreateTime()
The timestamp corresponding to the generation of the token.
.google.protobuf.Timestamp create_time = 3;hasCreateTime in interface TokenPropertiesOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
The timestamp corresponding to the generation of the token.
.google.protobuf.Timestamp create_time = 3;getCreateTime in interface TokenPropertiesOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The timestamp corresponding to the generation of the token.
.google.protobuf.Timestamp create_time = 3;getCreateTimeOrBuilder in interface TokenPropertiesOrBuilderpublic String getHostname()
The hostname of the page on which the token was generated.
string hostname = 4;getHostname in interface TokenPropertiesOrBuilderpublic com.google.protobuf.ByteString getHostnameBytes()
The hostname of the page on which the token was generated.
string hostname = 4;getHostnameBytes in interface TokenPropertiesOrBuilderpublic String getAction()
Action name provided at token generation.
string action = 5;getAction in interface TokenPropertiesOrBuilderpublic com.google.protobuf.ByteString getActionBytes()
Action name provided at token generation.
string action = 5;getActionBytes in interface TokenPropertiesOrBuilderpublic 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 TokenProperties parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TokenProperties parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TokenProperties parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TokenProperties parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TokenProperties parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TokenProperties parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TokenProperties parseFrom(InputStream input) throws IOException
IOExceptionpublic static TokenProperties parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TokenProperties parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TokenProperties parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TokenProperties parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TokenProperties parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TokenProperties.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TokenProperties.Builder newBuilder()
public static TokenProperties.Builder newBuilder(TokenProperties prototype)
public TokenProperties.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TokenProperties.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TokenProperties getDefaultInstance()
public static com.google.protobuf.Parser<TokenProperties> parser()
public com.google.protobuf.Parser<TokenProperties> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TokenProperties getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2021 Google LLC. All rights reserved.