Class PreconfiguredWafSet.Builder (1.27.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.WafExpressionSet>
Returns
TypeDescription
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
NameDescription
valueWafExpressionSet
Returns
TypeDescription
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
NameDescription
builderForValueWafExpressionSet.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueWafExpressionSet
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWafExpressionSet.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
WafExpressionSet.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PreconfiguredWafSet.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PreconfiguredWafSet.Builder
Overrides

build()

public PreconfiguredWafSet build()
Returns
TypeDescription
PreconfiguredWafSet

buildPartial()

public PreconfiguredWafSet buildPartial()
Returns
TypeDescription
PreconfiguredWafSet

clear()

public PreconfiguredWafSet.Builder clear()
Returns
TypeDescription
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
TypeDescription
PreconfiguredWafSet.Builder

clearField(Descriptors.FieldDescriptor field)

public PreconfiguredWafSet.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PreconfiguredWafSet.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PreconfiguredWafSet.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PreconfiguredWafSet.Builder
Overrides

clone()

public PreconfiguredWafSet.Builder clone()
Returns
TypeDescription
PreconfiguredWafSet.Builder
Overrides

getDefaultInstanceForType()

public PreconfiguredWafSet getDefaultInstanceForType()
Returns
TypeDescription
PreconfiguredWafSet

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.compute.v1.WafExpressionSetOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PreconfiguredWafSet other)

public PreconfiguredWafSet.Builder mergeFrom(PreconfiguredWafSet other)
Parameter
NameDescription
otherPreconfiguredWafSet
Returns
TypeDescription
PreconfiguredWafSet.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PreconfiguredWafSet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreconfiguredWafSet.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PreconfiguredWafSet.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PreconfiguredWafSet.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PreconfiguredWafSet.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueWafExpressionSet
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWafExpressionSet.Builder
Returns
TypeDescription
PreconfiguredWafSet.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PreconfiguredWafSet.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PreconfiguredWafSet.Builder
Overrides

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

public PreconfiguredWafSet.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PreconfiguredWafSet.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PreconfiguredWafSet.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PreconfiguredWafSet.Builder
Overrides