public static final class WafSettings.Builder extends GeneratedMessageV3.Builder<WafSettings.Builder> implements WafSettingsOrBuilder
Settings specific to keys that can be used for WAF (Web Application
Firewall).
Protobuf type google.cloud.recaptchaenterprise.v1.WafSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WafSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public WafSettings build()
Returns
buildPartial()
public WafSettings buildPartial()
Returns
clear()
public WafSettings.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public WafSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public WafSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearWafFeature()
public WafSettings.Builder clearWafFeature()
Required. The WAF feature for which this key is enabled.
.google.cloud.recaptchaenterprise.v1.WafSettings.WafFeature waf_feature = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearWafService()
public WafSettings.Builder clearWafService()
Required. The WAF service that uses this key.
.google.cloud.recaptchaenterprise.v1.WafSettings.WafService waf_service = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public WafSettings.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public WafSettings getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getWafFeature()
public WafSettings.WafFeature getWafFeature()
Required. The WAF feature for which this key is enabled.
.google.cloud.recaptchaenterprise.v1.WafSettings.WafFeature waf_feature = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getWafFeatureValue()
public int getWafFeatureValue()
Required. The WAF feature for which this key is enabled.
.google.cloud.recaptchaenterprise.v1.WafSettings.WafFeature waf_feature = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
int | The enum numeric value on the wire for wafFeature.
|
getWafService()
public WafSettings.WafService getWafService()
Required. The WAF service that uses this key.
.google.cloud.recaptchaenterprise.v1.WafSettings.WafService waf_service = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getWafServiceValue()
public int getWafServiceValue()
Required. The WAF service that uses this key.
.google.cloud.recaptchaenterprise.v1.WafSettings.WafService waf_service = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
int | The enum numeric value on the wire for wafService.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public WafSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public WafSettings.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(WafSettings other)
public WafSettings.Builder mergeFrom(WafSettings other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WafSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public WafSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WafSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WafSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setWafFeature(WafSettings.WafFeature value)
public WafSettings.Builder setWafFeature(WafSettings.WafFeature value)
Required. The WAF feature for which this key is enabled.
.google.cloud.recaptchaenterprise.v1.WafSettings.WafFeature waf_feature = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setWafFeatureValue(int value)
public WafSettings.Builder setWafFeatureValue(int value)
Required. The WAF feature for which this key is enabled.
.google.cloud.recaptchaenterprise.v1.WafSettings.WafFeature waf_feature = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | int
The enum numeric value on the wire for wafFeature to set.
|
Returns
setWafService(WafSettings.WafService value)
public WafSettings.Builder setWafService(WafSettings.WafService value)
Required. The WAF service that uses this key.
.google.cloud.recaptchaenterprise.v1.WafSettings.WafService waf_service = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setWafServiceValue(int value)
public WafSettings.Builder setWafServiceValue(int value)
Required. The WAF service that uses this key.
.google.cloud.recaptchaenterprise.v1.WafSettings.WafService waf_service = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | int
The enum numeric value on the wire for wafService to set.
|
Returns