Class PreconfiguredWafSet.Builder (1.53.0)

public static final class PreconfiguredWafSet.Builder extends GeneratedMessageV3.Builder<PreconfiguredWafSet.Builder> implements PreconfiguredWafSetOrBuilder

Protobuf type google.cloud.compute.v1.PreconfiguredWafSet

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllExpressionSets(Iterable<? extends WafExpressionSet> values)

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
Type Description
PreconfiguredWafSet.Builder

addExpressionSets(WafExpressionSet value)

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
Name Description
value WafExpressionSet
Returns
Type Description
PreconfiguredWafSet.Builder

addExpressionSets(WafExpressionSet.Builder builderForValue)

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
Name Description
builderForValue WafExpressionSet.Builder
Returns
Type Description
PreconfiguredWafSet.Builder

addExpressionSets(int index, WafExpressionSet value)

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
Name Description
index int
value WafExpressionSet
Returns
Type Description
PreconfiguredWafSet.Builder

addExpressionSets(int index, WafExpressionSet.Builder builderForValue)

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
Name Description
index int
builderForValue WafExpressionSet.Builder
Returns
Type Description
PreconfiguredWafSet.Builder

addExpressionSetsBuilder()

public WafExpressionSet.Builder addExpressionSetsBuilder()

List of entities that are currently supported for WAF rules.

repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;

Returns
Type Description
WafExpressionSet.Builder

addExpressionSetsBuilder(int index)

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
Name Description
index int
Returns
Type Description
WafExpressionSet.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PreconfiguredWafSet.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PreconfiguredWafSet.Builder
Overrides

build()

public PreconfiguredWafSet build()
Returns
Type Description
PreconfiguredWafSet

buildPartial()

public PreconfiguredWafSet buildPartial()
Returns
Type Description
PreconfiguredWafSet

clear()

public PreconfiguredWafSet.Builder clear()
Returns
Type Description
PreconfiguredWafSet.Builder
Overrides

clearExpressionSets()

public PreconfiguredWafSet.Builder clearExpressionSets()

List of entities that are currently supported for WAF rules.

repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;

Returns
Type Description
PreconfiguredWafSet.Builder

clearField(Descriptors.FieldDescriptor field)

public PreconfiguredWafSet.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PreconfiguredWafSet.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PreconfiguredWafSet.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PreconfiguredWafSet.Builder
Overrides

clone()

public PreconfiguredWafSet.Builder clone()
Returns
Type Description
PreconfiguredWafSet.Builder
Overrides

getDefaultInstanceForType()

public PreconfiguredWafSet getDefaultInstanceForType()
Returns
Type Description
PreconfiguredWafSet

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExpressionSets(int index)

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
Name Description
index int
Returns
Type Description
WafExpressionSet

getExpressionSetsBuilder(int index)

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
Name Description
index int
Returns
Type Description
WafExpressionSet.Builder

getExpressionSetsBuilderList()

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
Type Description
List<Builder>

getExpressionSetsCount()

public int getExpressionSetsCount()

List of entities that are currently supported for WAF rules.

repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;

Returns
Type Description
int

getExpressionSetsList()

public List<WafExpressionSet> getExpressionSetsList()

List of entities that are currently supported for WAF rules.

repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;

Returns
Type Description
List<WafExpressionSet>

getExpressionSetsOrBuilder(int index)

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
Name Description
index int
Returns
Type Description
WafExpressionSetOrBuilder

getExpressionSetsOrBuilderList()

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PreconfiguredWafSet other)

public PreconfiguredWafSet.Builder mergeFrom(PreconfiguredWafSet other)
Parameter
Name Description
other PreconfiguredWafSet
Returns
Type Description
PreconfiguredWafSet.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PreconfiguredWafSet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreconfiguredWafSet.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PreconfiguredWafSet.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PreconfiguredWafSet.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PreconfiguredWafSet.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PreconfiguredWafSet.Builder
Overrides

removeExpressionSets(int index)

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
Name Description
index int
Returns
Type Description
PreconfiguredWafSet.Builder

setExpressionSets(int index, WafExpressionSet value)

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
Name Description
index int
value WafExpressionSet
Returns
Type Description
PreconfiguredWafSet.Builder

setExpressionSets(int index, WafExpressionSet.Builder builderForValue)

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
Name Description
index int
builderForValue WafExpressionSet.Builder
Returns
Type Description
PreconfiguredWafSet.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PreconfiguredWafSet.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PreconfiguredWafSet.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PreconfiguredWafSet.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PreconfiguredWafSet.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PreconfiguredWafSet.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PreconfiguredWafSet.Builder
Overrides