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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WafSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public WafSettings build()
buildPartial()
public WafSettings buildPartial()
clear()
public WafSettings.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public WafSettings.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public WafSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
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];
clone()
public WafSettings.Builder clone()
Overrides
getDefaultInstanceForType()
public WafSettings getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public WafSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public WafSettings.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(WafSettings other)
public WafSettings.Builder mergeFrom(WafSettings other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WafSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public WafSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WafSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WafSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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.
|
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];
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.
|