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()
If set to true, the key can be used on AMP (Accelerated Mobile Pages)
websites.
|
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, isStringEmpty, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean getAllowAllDomains()
If set to true, it means allowed_domains will not be enforced.
bool allow_all_domains = 3;
getAllowAllDomains
in interface WebKeySettingsOrBuilder
public 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 WebKeySettingsOrBuilder
public 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 WebKeySettingsOrBuilder
public 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 WebKeySettingsOrBuilder
index
- 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 WebKeySettingsOrBuilder
index
- The index of the value to return.public boolean getAllowAmpTraffic()
If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type.
bool allow_amp_traffic = 2;
getAllowAmpTraffic
in interface WebKeySettingsOrBuilder
public 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 WebKeySettingsOrBuilder
public 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 WebKeySettingsOrBuilder
public 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 WebKeySettingsOrBuilder
public 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 WebKeySettingsOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static WebKeySettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WebKeySettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WebKeySettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WebKeySettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WebKeySettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WebKeySettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WebKeySettings parseFrom(InputStream input) throws IOException
IOException
public static WebKeySettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static WebKeySettings parseDelimitedFrom(InputStream input) throws IOException
IOException
public static WebKeySettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static WebKeySettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static WebKeySettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public WebKeySettings.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static WebKeySettings.Builder newBuilder()
public static WebKeySettings.Builder newBuilder(WebKeySettings prototype)
public WebKeySettings.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected WebKeySettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static WebKeySettings getDefaultInstance()
public static com.google.protobuf.Parser<WebKeySettings> parser()
public com.google.protobuf.Parser<WebKeySettings> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public WebKeySettings getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.