public final class TokenProperties extends com.google.protobuf.GeneratedMessageV3 implements TokenPropertiesOrBuilder
Properties of the provided event token.Protobuf type
google.cloud.recaptchaenterprise.v1.TokenProperties| Modifier and Type | Class and Description |
|---|---|
static class |
TokenProperties.Builder
Properties of the provided event token.
|
static class |
TokenProperties.InvalidReason
Enum that represents the types of invalid token reasons.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ACTION_FIELD_NUMBER |
static int |
ANDROID_PACKAGE_NAME_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
HOSTNAME_FIELD_NUMBER |
static int |
INVALID_REASON_FIELD_NUMBER |
static int |
IOS_BUNDLE_ID_FIELD_NUMBER |
static int |
VALID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAction()
Output only.
|
com.google.protobuf.ByteString |
getActionBytes()
Output only.
|
String |
getAndroidPackageName()
Output only.
|
com.google.protobuf.ByteString |
getAndroidPackageNameBytes()
Output only.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static TokenProperties |
getDefaultInstance() |
TokenProperties |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getHostname()
Output only.
|
com.google.protobuf.ByteString |
getHostnameBytes()
Output only.
|
TokenProperties.InvalidReason |
getInvalidReason()
Output only.
|
int |
getInvalidReasonValue()
Output only.
|
String |
getIosBundleId()
Output only.
|
com.google.protobuf.ByteString |
getIosBundleIdBytes()
Output only.
|
com.google.protobuf.Parser<TokenProperties> |
getParserForType() |
int |
getSerializedSize() |
boolean |
getValid()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
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, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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 ANDROID_PACKAGE_NAME_FIELD_NUMBER
public static final int IOS_BUNDLE_ID_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 static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean getValid()
Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];getValid in interface TokenPropertiesOrBuilderpublic int getInvalidReasonValue()
Output only. Reason associated with the response when valid = false.
.google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getInvalidReasonValue in interface TokenPropertiesOrBuilderpublic TokenProperties.InvalidReason getInvalidReason()
Output only. Reason associated with the response when valid = false.
.google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getInvalidReason in interface TokenPropertiesOrBuilderpublic boolean hasCreateTime()
Output only. The timestamp corresponding to the generation of the token.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface TokenPropertiesOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The timestamp corresponding to the generation of the token.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface TokenPropertiesOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp corresponding to the generation of the token.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface TokenPropertiesOrBuilderpublic String getHostname()
Output only. The hostname of the page on which the token was generated (Web keys only).
string hostname = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getHostname in interface TokenPropertiesOrBuilderpublic com.google.protobuf.ByteString getHostnameBytes()
Output only. The hostname of the page on which the token was generated (Web keys only).
string hostname = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getHostnameBytes in interface TokenPropertiesOrBuilderpublic String getAndroidPackageName()
Output only. The name of the Android package with which the token was generated (Android keys only).
string android_package_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];getAndroidPackageName in interface TokenPropertiesOrBuilderpublic com.google.protobuf.ByteString getAndroidPackageNameBytes()
Output only. The name of the Android package with which the token was generated (Android keys only).
string android_package_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];getAndroidPackageNameBytes in interface TokenPropertiesOrBuilderpublic String getIosBundleId()
Output only. The ID of the iOS bundle with which the token was generated (iOS keys only).
string ios_bundle_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];getIosBundleId in interface TokenPropertiesOrBuilderpublic com.google.protobuf.ByteString getIosBundleIdBytes()
Output only. The ID of the iOS bundle with which the token was generated (iOS keys only).
string ios_bundle_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];getIosBundleIdBytes in interface TokenPropertiesOrBuilderpublic String getAction()
Output only. Action name provided at token generation.
string action = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getAction in interface TokenPropertiesOrBuilderpublic com.google.protobuf.ByteString getActionBytes()
Output only. Action name provided at token generation.
string action = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];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 © 2025 Google LLC. All rights reserved.