public final class WebKeySettings extends com.google.protobuf.GeneratedMessageV3 implements WebKeySettingsOrBuilder
Settings specific to keys that can be used by websites.Protobuf type
google.cloud.recaptchaenterprise.v1.WebKeySettings| Modifier and Type | Class and Description |
|---|---|
static class |
WebKeySettings.Builder
Settings specific to keys that can be used by websites.
|
static class |
WebKeySettings.ChallengeSecurityPreference
Enum that represents the possible challenge frequency and difficulty
configurations for a web key.
|
static class |
WebKeySettings.IntegrationType
Enum that represents the integration types for web keys.
|
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 |
ALLOW_ALL_DOMAINS_FIELD_NUMBER |
static int |
ALLOW_AMP_TRAFFIC_FIELD_NUMBER |
static int |
ALLOWED_DOMAINS_FIELD_NUMBER |
static int |
CHALLENGE_SECURITY_PREFERENCE_FIELD_NUMBER |
static int |
INTEGRATION_TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getAllowAllDomains()
If set to true, it means allowed_domains will not be enforced.
|
boolean |
getAllowAmpTraffic()
Required.
|
String |
getAllowedDomains(int index)
Domains or subdomains of websites allowed to use the key.
|
com.google.protobuf.ByteString |
getAllowedDomainsBytes(int index)
Domains or subdomains of websites allowed to use the key.
|
int |
getAllowedDomainsCount()
Domains or subdomains of websites allowed to use the key.
|
com.google.protobuf.ProtocolStringList |
getAllowedDomainsList()
Domains or subdomains of websites allowed to use the key.
|
WebKeySettings.ChallengeSecurityPreference |
getChallengeSecurityPreference()
Settings for the frequency and difficulty at which this key triggers
captcha challenges.
|
int |
getChallengeSecurityPreferenceValue()
Settings for the frequency and difficulty at which this key triggers
captcha challenges.
|
static WebKeySettings |
getDefaultInstance() |
WebKeySettings |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
WebKeySettings.IntegrationType |
getIntegrationType()
Required.
|
int |
getIntegrationTypeValue()
Required.
|
com.google.protobuf.Parser<WebKeySettings> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static WebKeySettings.Builder |
newBuilder() |
static WebKeySettings.Builder |
newBuilder(WebKeySettings prototype) |
WebKeySettings.Builder |
newBuilderForType() |
protected WebKeySettings.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static WebKeySettings |
parseDelimitedFrom(InputStream input) |
static WebKeySettings |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebKeySettings |
parseFrom(byte[] data) |
static WebKeySettings |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebKeySettings |
parseFrom(ByteBuffer data) |
static WebKeySettings |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebKeySettings |
parseFrom(com.google.protobuf.ByteString data) |
static WebKeySettings |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebKeySettings |
parseFrom(com.google.protobuf.CodedInputStream input) |
static WebKeySettings |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WebKeySettings |
parseFrom(InputStream input) |
static WebKeySettings |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<WebKeySettings> |
parser() |
WebKeySettings.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 ALLOW_ALL_DOMAINS_FIELD_NUMBER
public static final int ALLOWED_DOMAINS_FIELD_NUMBER
public static final int ALLOW_AMP_TRAFFIC_FIELD_NUMBER
public static final int INTEGRATION_TYPE_FIELD_NUMBER
public static final int CHALLENGE_SECURITY_PREFERENCE_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 getAllowAllDomains()
If set to true, it means allowed_domains will not be enforced.
bool allow_all_domains = 3;getAllowAllDomains in interface WebKeySettingsOrBuilderpublic com.google.protobuf.ProtocolStringList getAllowedDomainsList()
Domains or subdomains of websites allowed to use the key. All subdomains of an allowed domain are automatically allowed. A valid domain requires a host and must not include any path, port, query or fragment. Examples: 'example.com' or 'subdomain.example.com'
repeated string allowed_domains = 1;getAllowedDomainsList in interface WebKeySettingsOrBuilderpublic int getAllowedDomainsCount()
Domains or subdomains of websites allowed to use the key. All subdomains of an allowed domain are automatically allowed. A valid domain requires a host and must not include any path, port, query or fragment. Examples: 'example.com' or 'subdomain.example.com'
repeated string allowed_domains = 1;getAllowedDomainsCount in interface WebKeySettingsOrBuilderpublic String getAllowedDomains(int index)
Domains or subdomains of websites allowed to use the key. All subdomains of an allowed domain are automatically allowed. A valid domain requires a host and must not include any path, port, query or fragment. Examples: 'example.com' or 'subdomain.example.com'
repeated string allowed_domains = 1;getAllowedDomains in interface WebKeySettingsOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getAllowedDomainsBytes(int index)
Domains or subdomains of websites allowed to use the key. All subdomains of an allowed domain are automatically allowed. A valid domain requires a host and must not include any path, port, query or fragment. Examples: 'example.com' or 'subdomain.example.com'
repeated string allowed_domains = 1;getAllowedDomainsBytes in interface WebKeySettingsOrBuilderindex - The index of the value to return.public boolean getAllowAmpTraffic()
Required. Whether this key can be used on AMP (Accelerated Mobile Pages) websites.
bool allow_amp_traffic = 2 [(.google.api.field_behavior) = REQUIRED];getAllowAmpTraffic in interface WebKeySettingsOrBuilderpublic int getIntegrationTypeValue()
Required. Describes how this key is integrated with the website.
.google.cloud.recaptchaenterprise.v1.WebKeySettings.IntegrationType integration_type = 4 [(.google.api.field_behavior) = REQUIRED];
getIntegrationTypeValue in interface WebKeySettingsOrBuilderpublic WebKeySettings.IntegrationType getIntegrationType()
Required. Describes how this key is integrated with the website.
.google.cloud.recaptchaenterprise.v1.WebKeySettings.IntegrationType integration_type = 4 [(.google.api.field_behavior) = REQUIRED];
getIntegrationType in interface WebKeySettingsOrBuilderpublic int getChallengeSecurityPreferenceValue()
Settings for the frequency and difficulty at which this key triggers captcha challenges. This should only be specified for IntegrationTypes CHECKBOX and INVISIBLE.
.google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5;
getChallengeSecurityPreferenceValue in interface WebKeySettingsOrBuilderpublic WebKeySettings.ChallengeSecurityPreference getChallengeSecurityPreference()
Settings for the frequency and difficulty at which this key triggers captcha challenges. This should only be specified for IntegrationTypes CHECKBOX and INVISIBLE.
.google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5;
getChallengeSecurityPreference in interface WebKeySettingsOrBuilderpublic 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 WebKeySettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebKeySettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebKeySettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebKeySettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebKeySettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebKeySettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WebKeySettings parseFrom(InputStream input) throws IOException
IOExceptionpublic static WebKeySettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WebKeySettings parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static WebKeySettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WebKeySettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static WebKeySettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic WebKeySettings.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static WebKeySettings.Builder newBuilder()
public static WebKeySettings.Builder newBuilder(WebKeySettings prototype)
public WebKeySettings.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected WebKeySettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static WebKeySettings getDefaultInstance()
public static com.google.protobuf.Parser<WebKeySettings> parser()
public com.google.protobuf.Parser<WebKeySettings> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public WebKeySettings getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2021 Google LLC. All rights reserved.