Send feedback
Class PreconfiguredWafSet.Builder (1.12.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.12.1 keyboard_arrow_down
public static final class PreconfiguredWafSet . Builder extends GeneratedMessageV3 . Builder<PreconfiguredWafSet . Builder > implements PreconfiguredWafSetOrBuilder
Protobuf type google.cloud.compute.v1.PreconfiguredWafSet
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
public PreconfiguredWafSet . Builder addAllExpressionSets ( Iterable <? extends WafExpressionSet > values )
List of entities that are currently supported for WAF rules.
repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;
Parameter
Name Description values Iterable <? extends com.google.cloud.compute.v1.WafExpressionSet >
Returns
public PreconfiguredWafSet . Builder addExpressionSets ( WafExpressionSet value )
List of entities that are currently supported for WAF rules.
repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;
Parameter
Returns
public PreconfiguredWafSet . Builder addExpressionSets ( WafExpressionSet . Builder builderForValue )
List of entities that are currently supported for WAF rules.
repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;
Parameter
Returns
public PreconfiguredWafSet . Builder addExpressionSets ( int index , WafExpressionSet value )
List of entities that are currently supported for WAF rules.
repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;
Parameters
Returns
public PreconfiguredWafSet . Builder addExpressionSets ( int index , WafExpressionSet . Builder builderForValue )
List of entities that are currently supported for WAF rules.
repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;
Parameters
Returns
public WafExpressionSet . Builder addExpressionSetsBuilder ()
List of entities that are currently supported for WAF rules.
repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;
Returns
public WafExpressionSet . Builder addExpressionSetsBuilder ( int index )
List of entities that are currently supported for WAF rules.
repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;
Parameter
Returns
public PreconfiguredWafSet . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public PreconfiguredWafSet build ()
Returns
public PreconfiguredWafSet buildPartial ()
Returns
public PreconfiguredWafSet . Builder clear ()
Returns
Overrides
public PreconfiguredWafSet . Builder clearExpressionSets ()
List of entities that are currently supported for WAF rules.
repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;
Returns
public PreconfiguredWafSet . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public PreconfiguredWafSet . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
public PreconfiguredWafSet . Builder clone ()
Returns
Overrides
public PreconfiguredWafSet getDefaultInstanceForType ()
Returns
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
public WafExpressionSet getExpressionSets ( int index )
List of entities that are currently supported for WAF rules.
repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;
Parameter
Returns
public WafExpressionSet . Builder getExpressionSetsBuilder ( int index )
List of entities that are currently supported for WAF rules.
repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;
Parameter
Returns
public List<WafExpressionSet . Builder > getExpressionSetsBuilderList ()
List of entities that are currently supported for WAF rules.
repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;
Returns
public int getExpressionSetsCount ()
List of entities that are currently supported for WAF rules.
repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;
Returns
public List<WafExpressionSet> getExpressionSetsList ()
List of entities that are currently supported for WAF rules.
repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;
Returns
public WafExpressionSetOrBuilder getExpressionSetsOrBuilder ( int index )
List of entities that are currently supported for WAF rules.
repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;
Parameter
Returns
public List <? extends WafExpressionSetOrBuilder > getExpressionSetsOrBuilderList ()
List of entities that are currently supported for WAF rules.
repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;
Returns
Type Description List <? extends com.google.cloud.compute.v1.WafExpressionSetOrBuilder >
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public PreconfiguredWafSet . Builder mergeFrom ( PreconfiguredWafSet other )
Parameter
Returns
public PreconfiguredWafSet . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
public PreconfiguredWafSet . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
public final PreconfiguredWafSet . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
public PreconfiguredWafSet . Builder removeExpressionSets ( int index )
List of entities that are currently supported for WAF rules.
repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;
Parameter
Returns
public PreconfiguredWafSet . Builder setExpressionSets ( int index , WafExpressionSet value )
List of entities that are currently supported for WAF rules.
repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;
Parameters
Returns
public PreconfiguredWafSet . Builder setExpressionSets ( int index , WafExpressionSet . Builder builderForValue )
List of entities that are currently supported for WAF rules.
repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;
Parameters
Returns
public PreconfiguredWafSet . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public PreconfiguredWafSet . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
public final PreconfiguredWafSet . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]