Package com.google.cloud.compute.v1
Class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder>
com.google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder
- All Implemented Interfaces:
SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
public static final class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder>
implements SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder
Protobuf type
google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions-
Method Summary
Modifier and TypeMethodDescriptionaddActionTokenSiteKeys(String value) A list of site keys to be used during the validation of reCAPTCHA action-tokens.addActionTokenSiteKeysBytes(com.google.protobuf.ByteString value) A list of site keys to be used during the validation of reCAPTCHA action-tokens.addAllActionTokenSiteKeys(Iterable<String> values) A list of site keys to be used during the validation of reCAPTCHA action-tokens.addAllSessionTokenSiteKeys(Iterable<String> values) A list of site keys to be used during the validation of reCAPTCHA session-tokens.addSessionTokenSiteKeys(String value) A list of site keys to be used during the validation of reCAPTCHA session-tokens.addSessionTokenSiteKeysBytes(com.google.protobuf.ByteString value) A list of site keys to be used during the validation of reCAPTCHA session-tokens.build()clear()A list of site keys to be used during the validation of reCAPTCHA action-tokens.A list of site keys to be used during the validation of reCAPTCHA session-tokens.getActionTokenSiteKeys(int index) A list of site keys to be used during the validation of reCAPTCHA action-tokens.com.google.protobuf.ByteStringgetActionTokenSiteKeysBytes(int index) A list of site keys to be used during the validation of reCAPTCHA action-tokens.intA list of site keys to be used during the validation of reCAPTCHA action-tokens.com.google.protobuf.ProtocolStringListA list of site keys to be used during the validation of reCAPTCHA action-tokens.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetSessionTokenSiteKeys(int index) A list of site keys to be used during the validation of reCAPTCHA session-tokens.com.google.protobuf.ByteStringgetSessionTokenSiteKeysBytes(int index) A list of site keys to be used during the validation of reCAPTCHA session-tokens.intA list of site keys to be used during the validation of reCAPTCHA session-tokens.com.google.protobuf.ProtocolStringListA list of site keys to be used during the validation of reCAPTCHA session-tokens.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setActionTokenSiteKeys(int index, String value) A list of site keys to be used during the validation of reCAPTCHA action-tokens.setSessionTokenSiteKeys(int index, String value) A list of site keys to be used during the validation of reCAPTCHA session-tokens.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder>
-
mergeFrom
public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder>- Throws:
IOException
-
getActionTokenSiteKeysList
public com.google.protobuf.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;- Specified by:
getActionTokenSiteKeysListin interfaceSecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder- Returns:
- A list containing the actionTokenSiteKeys.
-
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;- Specified by:
getActionTokenSiteKeysCountin interfaceSecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder- Returns:
- The count of actionTokenSiteKeys.
-
getActionTokenSiteKeys
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;- Specified by:
getActionTokenSiteKeysin interfaceSecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The actionTokenSiteKeys at the given index.
-
getActionTokenSiteKeysBytes
public com.google.protobuf.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;- Specified by:
getActionTokenSiteKeysBytesin interfaceSecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the actionTokenSiteKeys at the given index.
-
setActionTokenSiteKeys
public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder setActionTokenSiteKeys(int index, String value) 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;- Parameters:
index- The index to set the value at.value- The actionTokenSiteKeys to set.- Returns:
- This builder for chaining.
-
addActionTokenSiteKeys
public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder addActionTokenSiteKeys(String value) 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;- Parameters:
value- The actionTokenSiteKeys to add.- Returns:
- This builder for chaining.
-
addAllActionTokenSiteKeys
public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder addAllActionTokenSiteKeys(Iterable<String> values) 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;- Parameters:
values- The actionTokenSiteKeys to add.- Returns:
- This builder for chaining.
-
clearActionTokenSiteKeys
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:
- This builder for chaining.
-
addActionTokenSiteKeysBytes
public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder addActionTokenSiteKeysBytes(com.google.protobuf.ByteString value) 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;- Parameters:
value- The bytes of the actionTokenSiteKeys to add.- Returns:
- This builder for chaining.
-
getSessionTokenSiteKeysList
public com.google.protobuf.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;- Specified by:
getSessionTokenSiteKeysListin interfaceSecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder- Returns:
- A list containing the sessionTokenSiteKeys.
-
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;- Specified by:
getSessionTokenSiteKeysCountin interfaceSecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder- Returns:
- The count of sessionTokenSiteKeys.
-
getSessionTokenSiteKeys
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;- Specified by:
getSessionTokenSiteKeysin interfaceSecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The sessionTokenSiteKeys at the given index.
-
getSessionTokenSiteKeysBytes
public com.google.protobuf.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;- Specified by:
getSessionTokenSiteKeysBytesin interfaceSecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sessionTokenSiteKeys at the given index.
-
setSessionTokenSiteKeys
public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder setSessionTokenSiteKeys(int index, String value) 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;- Parameters:
index- The index to set the value at.value- The sessionTokenSiteKeys to set.- Returns:
- This builder for chaining.
-
addSessionTokenSiteKeys
public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder addSessionTokenSiteKeys(String value) 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;- Parameters:
value- The sessionTokenSiteKeys to add.- Returns:
- This builder for chaining.
-
addAllSessionTokenSiteKeys
public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder addAllSessionTokenSiteKeys(Iterable<String> values) 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;- Parameters:
values- The sessionTokenSiteKeys to add.- Returns:
- This builder for chaining.
-
clearSessionTokenSiteKeys
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:
- This builder for chaining.
-
addSessionTokenSiteKeysBytes
public SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.Builder addSessionTokenSiteKeysBytes(com.google.protobuf.ByteString value) 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;- Parameters:
value- The bytes of the sessionTokenSiteKeys to add.- Returns:
- This builder for chaining.
-