Package com.google.cloud.compute.v1
Class SecurityPolicyRecaptchaOptionsConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRecaptchaOptionsConfig.Builder>
-
- com.google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig.Builder
-
- All Implemented Interfaces:
SecurityPolicyRecaptchaOptionsConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SecurityPolicyRecaptchaOptionsConfig
public static final class SecurityPolicyRecaptchaOptionsConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRecaptchaOptionsConfig.Builder> implements SecurityPolicyRecaptchaOptionsConfigOrBuilder
Protobuf typegoogle.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityPolicyRecaptchaOptionsConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SecurityPolicyRecaptchaOptionsConfigbuild()SecurityPolicyRecaptchaOptionsConfigbuildPartial()SecurityPolicyRecaptchaOptionsConfig.Builderclear()SecurityPolicyRecaptchaOptionsConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)SecurityPolicyRecaptchaOptionsConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)SecurityPolicyRecaptchaOptionsConfig.BuilderclearRedirectSiteKey()An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy.SecurityPolicyRecaptchaOptionsConfig.Builderclone()SecurityPolicyRecaptchaOptionsConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetRedirectSiteKey()An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy.com.google.protobuf.ByteStringgetRedirectSiteKeyBytes()An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy.booleanhasRedirectSiteKey()An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()SecurityPolicyRecaptchaOptionsConfig.BuildermergeFrom(SecurityPolicyRecaptchaOptionsConfig other)SecurityPolicyRecaptchaOptionsConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SecurityPolicyRecaptchaOptionsConfig.BuildermergeFrom(com.google.protobuf.Message other)SecurityPolicyRecaptchaOptionsConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SecurityPolicyRecaptchaOptionsConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SecurityPolicyRecaptchaOptionsConfig.BuildersetRedirectSiteKey(String value)An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy.SecurityPolicyRecaptchaOptionsConfig.BuildersetRedirectSiteKeyBytes(com.google.protobuf.ByteString value)An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy.SecurityPolicyRecaptchaOptionsConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)SecurityPolicyRecaptchaOptionsConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRecaptchaOptionsConfig.Builder>
-
clear
public SecurityPolicyRecaptchaOptionsConfig.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRecaptchaOptionsConfig.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.GeneratedMessageV3.Builder<SecurityPolicyRecaptchaOptionsConfig.Builder>
-
getDefaultInstanceForType
public SecurityPolicyRecaptchaOptionsConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SecurityPolicyRecaptchaOptionsConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SecurityPolicyRecaptchaOptionsConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SecurityPolicyRecaptchaOptionsConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRecaptchaOptionsConfig.Builder>
-
setField
public SecurityPolicyRecaptchaOptionsConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRecaptchaOptionsConfig.Builder>
-
clearField
public SecurityPolicyRecaptchaOptionsConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRecaptchaOptionsConfig.Builder>
-
clearOneof
public SecurityPolicyRecaptchaOptionsConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRecaptchaOptionsConfig.Builder>
-
setRepeatedField
public SecurityPolicyRecaptchaOptionsConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRecaptchaOptionsConfig.Builder>
-
addRepeatedField
public SecurityPolicyRecaptchaOptionsConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRecaptchaOptionsConfig.Builder>
-
mergeFrom
public SecurityPolicyRecaptchaOptionsConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SecurityPolicyRecaptchaOptionsConfig.Builder>
-
mergeFrom
public SecurityPolicyRecaptchaOptionsConfig.Builder mergeFrom(SecurityPolicyRecaptchaOptionsConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRecaptchaOptionsConfig.Builder>
-
mergeFrom
public SecurityPolicyRecaptchaOptionsConfig.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<SecurityPolicyRecaptchaOptionsConfig.Builder>- Throws:
IOException
-
hasRedirectSiteKey
public boolean hasRedirectSiteKey()
An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
optional string redirect_site_key = 447677034;- Specified by:
hasRedirectSiteKeyin interfaceSecurityPolicyRecaptchaOptionsConfigOrBuilder- Returns:
- Whether the redirectSiteKey field is set.
-
getRedirectSiteKey
public String getRedirectSiteKey()
An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
optional string redirect_site_key = 447677034;- Specified by:
getRedirectSiteKeyin interfaceSecurityPolicyRecaptchaOptionsConfigOrBuilder- Returns:
- The redirectSiteKey.
-
getRedirectSiteKeyBytes
public com.google.protobuf.ByteString getRedirectSiteKeyBytes()
An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
optional string redirect_site_key = 447677034;- Specified by:
getRedirectSiteKeyBytesin interfaceSecurityPolicyRecaptchaOptionsConfigOrBuilder- Returns:
- The bytes for redirectSiteKey.
-
setRedirectSiteKey
public SecurityPolicyRecaptchaOptionsConfig.Builder setRedirectSiteKey(String value)
An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
optional string redirect_site_key = 447677034;- Parameters:
value- The redirectSiteKey to set.- Returns:
- This builder for chaining.
-
clearRedirectSiteKey
public SecurityPolicyRecaptchaOptionsConfig.Builder clearRedirectSiteKey()
An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
optional string redirect_site_key = 447677034;- Returns:
- This builder for chaining.
-
setRedirectSiteKeyBytes
public SecurityPolicyRecaptchaOptionsConfig.Builder setRedirectSiteKeyBytes(com.google.protobuf.ByteString value)
An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
optional string redirect_site_key = 447677034;- Parameters:
value- The bytes for redirectSiteKey to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final SecurityPolicyRecaptchaOptionsConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRecaptchaOptionsConfig.Builder>
-
mergeUnknownFields
public final SecurityPolicyRecaptchaOptionsConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRecaptchaOptionsConfig.Builder>
-
-