Class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions (1.46.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
TypeDescription
int

SESSION_TOKEN_SITE_KEYS_FIELD_NUMBER

public static final int SESSION_TOKEN_SITE_KEYS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions getDefaultInstance()
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder newBuilder()
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

newBuilder(SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions prototype)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder newBuilder(SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions prototype)
Parameter
NameDescription
prototypeSecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

parseDelimitedFrom(InputStream input)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions> parser()
Returns
TypeDescription
Parser<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the actionTokenSiteKeys.

getDefaultInstanceForType()

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions getDefaultInstanceForType()
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions

getParserForType()

public Parser<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions> getParserForType()
Returns
TypeDescription
Parser<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the sessionTokenSiteKeys.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder newBuilderForType()
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder toBuilder()
Returns
TypeDescription
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException