public static final class PreconfiguredWafSet.Builder extends GeneratedMessageV3.Builder<PreconfiguredWafSet.Builder> implements PreconfiguredWafSetOrBuilder
Protobuf type google.cloud.compute.v1.PreconfiguredWafSet
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 static final Descriptors.Descriptor getDescriptor()
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