Class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions (1.52.0)

public final class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions extends GeneratedMessageV3 implements SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions

Static Fields

ACTION_TOKEN_SITE_KEYS_FIELD_NUMBER

public static final int ACTION_TOKEN_SITE_KEYS_FIELD_NUMBER
Field Value
Type Description
int

SESSION_TOKEN_SITE_KEYS_FIELD_NUMBER

public static final int SESSION_TOKEN_SITE_KEYS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions getDefaultInstance()
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder newBuilder()
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

newBuilder(SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions prototype)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder newBuilder(SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions prototype)
Parameter
Name Description
prototype SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

parseDelimitedFrom(InputStream input)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions> parser()
Returns
Type Description
Parser<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getActionTokenSiteKeys(int index)

public String getActionTokenSiteKeys(int index)

A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string action_token_site_keys = 59929885;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The actionTokenSiteKeys at the given index.

getActionTokenSiteKeysBytes(int index)

public ByteString getActionTokenSiteKeysBytes(int index)

A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string action_token_site_keys = 59929885;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the actionTokenSiteKeys at the given index.

getActionTokenSiteKeysCount()

public int getActionTokenSiteKeysCount()

A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string action_token_site_keys = 59929885;

Returns
Type Description
int

The count of actionTokenSiteKeys.

getActionTokenSiteKeysList()

public ProtocolStringList getActionTokenSiteKeysList()

A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string action_token_site_keys = 59929885;

Returns
Type Description
ProtocolStringList

A list containing the actionTokenSiteKeys.

getDefaultInstanceForType()

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions getDefaultInstanceForType()
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions

getParserForType()

public Parser<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions> getParserForType()
Returns
Type Description
Parser<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSessionTokenSiteKeys(int index)

public String getSessionTokenSiteKeys(int index)

A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string session_token_site_keys = 333363581;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The sessionTokenSiteKeys at the given index.

getSessionTokenSiteKeysBytes(int index)

public ByteString getSessionTokenSiteKeysBytes(int index)

A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string session_token_site_keys = 333363581;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the sessionTokenSiteKeys at the given index.

getSessionTokenSiteKeysCount()

public int getSessionTokenSiteKeysCount()

A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string session_token_site_keys = 333363581;

Returns
Type Description
int

The count of sessionTokenSiteKeys.

getSessionTokenSiteKeysList()

public ProtocolStringList getSessionTokenSiteKeysList()

A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.

repeated string session_token_site_keys = 333363581;

Returns
Type Description
ProtocolStringList

A list containing the sessionTokenSiteKeys.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder newBuilderForType()
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder toBuilder()
Returns
Type Description
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException