Class WafExpressionSet.Builder (1.53.0)

public static final class WafExpressionSet.Builder extends GeneratedMessageV3.Builder<WafExpressionSet.Builder> implements WafExpressionSetOrBuilder

Protobuf type google.cloud.compute.v1.WafExpressionSet

Static Methods

getDescriptor()

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

Methods

addAliases(String value)

public WafExpressionSet.Builder addAliases(String value)

A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like "stable" is particularly useful if a policy likes to avail newer set of expressions without having to change the policy. A given alias name can't be used for more than one entity set.

repeated string aliases = 159207166;

Parameter
Name Description
value String

The aliases to add.

Returns
Type Description
WafExpressionSet.Builder

This builder for chaining.

addAliasesBytes(ByteString value)

public WafExpressionSet.Builder addAliasesBytes(ByteString value)

A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like "stable" is particularly useful if a policy likes to avail newer set of expressions without having to change the policy. A given alias name can't be used for more than one entity set.

repeated string aliases = 159207166;

Parameter
Name Description
value ByteString

The bytes of the aliases to add.

Returns
Type Description
WafExpressionSet.Builder

This builder for chaining.

addAllAliases(Iterable<String> values)

public WafExpressionSet.Builder addAllAliases(Iterable<String> values)

A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like "stable" is particularly useful if a policy likes to avail newer set of expressions without having to change the policy. A given alias name can't be used for more than one entity set.

repeated string aliases = 159207166;

Parameter
Name Description
values Iterable<String>

The aliases to add.

Returns
Type Description
WafExpressionSet.Builder

This builder for chaining.

addAllExpressions(Iterable<? extends WafExpressionSetExpression> values)

public WafExpressionSet.Builder addAllExpressions(Iterable<? extends WafExpressionSetExpression> values)

List of available expressions.

repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.WafExpressionSetExpression>
Returns
Type Description
WafExpressionSet.Builder

addExpressions(WafExpressionSetExpression value)

public WafExpressionSet.Builder addExpressions(WafExpressionSetExpression value)

List of available expressions.

repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;

Parameter
Name Description
value WafExpressionSetExpression
Returns
Type Description
WafExpressionSet.Builder

addExpressions(WafExpressionSetExpression.Builder builderForValue)

public WafExpressionSet.Builder addExpressions(WafExpressionSetExpression.Builder builderForValue)

List of available expressions.

repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;

Parameter
Name Description
builderForValue WafExpressionSetExpression.Builder
Returns
Type Description
WafExpressionSet.Builder

addExpressions(int index, WafExpressionSetExpression value)

public WafExpressionSet.Builder addExpressions(int index, WafExpressionSetExpression value)

List of available expressions.

repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;

Parameters
Name Description
index int
value WafExpressionSetExpression
Returns
Type Description
WafExpressionSet.Builder

addExpressions(int index, WafExpressionSetExpression.Builder builderForValue)

public WafExpressionSet.Builder addExpressions(int index, WafExpressionSetExpression.Builder builderForValue)

List of available expressions.

repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;

Parameters
Name Description
index int
builderForValue WafExpressionSetExpression.Builder
Returns
Type Description
WafExpressionSet.Builder

addExpressionsBuilder()

public WafExpressionSetExpression.Builder addExpressionsBuilder()

List of available expressions.

repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;

Returns
Type Description
WafExpressionSetExpression.Builder

addExpressionsBuilder(int index)

public WafExpressionSetExpression.Builder addExpressionsBuilder(int index)

List of available expressions.

repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;

Parameter
Name Description
index int
Returns
Type Description
WafExpressionSetExpression.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WafExpressionSet build()
Returns
Type Description
WafExpressionSet

buildPartial()

public WafExpressionSet buildPartial()
Returns
Type Description
WafExpressionSet

clear()

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

clearAliases()

public WafExpressionSet.Builder clearAliases()

A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like "stable" is particularly useful if a policy likes to avail newer set of expressions without having to change the policy. A given alias name can't be used for more than one entity set.

repeated string aliases = 159207166;

Returns
Type Description
WafExpressionSet.Builder

This builder for chaining.

clearExpressions()

public WafExpressionSet.Builder clearExpressions()

List of available expressions.

repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;

Returns
Type Description
WafExpressionSet.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public WafExpressionSet.Builder clearId()

Google specified expression set ID. The format should be: - E.g. XSS-20170329 required

optional string id = 3355;

Returns
Type Description
WafExpressionSet.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAliases(int index)

public String getAliases(int index)

A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like "stable" is particularly useful if a policy likes to avail newer set of expressions without having to change the policy. A given alias name can't be used for more than one entity set.

repeated string aliases = 159207166;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The aliases at the given index.

getAliasesBytes(int index)

public ByteString getAliasesBytes(int index)

A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like "stable" is particularly useful if a policy likes to avail newer set of expressions without having to change the policy. A given alias name can't be used for more than one entity set.

repeated string aliases = 159207166;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the aliases at the given index.

getAliasesCount()

public int getAliasesCount()

A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like "stable" is particularly useful if a policy likes to avail newer set of expressions without having to change the policy. A given alias name can't be used for more than one entity set.

repeated string aliases = 159207166;

Returns
Type Description
int

The count of aliases.

getAliasesList()

public ProtocolStringList getAliasesList()

A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like "stable" is particularly useful if a policy likes to avail newer set of expressions without having to change the policy. A given alias name can't be used for more than one entity set.

repeated string aliases = 159207166;

Returns
Type Description
ProtocolStringList

A list containing the aliases.

getDefaultInstanceForType()

public WafExpressionSet getDefaultInstanceForType()
Returns
Type Description
WafExpressionSet

getDescriptorForType()

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

getExpressions(int index)

public WafExpressionSetExpression getExpressions(int index)

List of available expressions.

repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;

Parameter
Name Description
index int
Returns
Type Description
WafExpressionSetExpression

getExpressionsBuilder(int index)

public WafExpressionSetExpression.Builder getExpressionsBuilder(int index)

List of available expressions.

repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;

Parameter
Name Description
index int
Returns
Type Description
WafExpressionSetExpression.Builder

getExpressionsBuilderList()

public List<WafExpressionSetExpression.Builder> getExpressionsBuilderList()

List of available expressions.

repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;

Returns
Type Description
List<Builder>

getExpressionsCount()

public int getExpressionsCount()

List of available expressions.

repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;

Returns
Type Description
int

getExpressionsList()

public List<WafExpressionSetExpression> getExpressionsList()

List of available expressions.

repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;

Returns
Type Description
List<WafExpressionSetExpression>

getExpressionsOrBuilder(int index)

public WafExpressionSetExpressionOrBuilder getExpressionsOrBuilder(int index)

List of available expressions.

repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;

Parameter
Name Description
index int
Returns
Type Description
WafExpressionSetExpressionOrBuilder

getExpressionsOrBuilderList()

public List<? extends WafExpressionSetExpressionOrBuilder> getExpressionsOrBuilderList()

List of available expressions.

repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.WafExpressionSetExpressionOrBuilder>

getId()

public String getId()

Google specified expression set ID. The format should be: - E.g. XSS-20170329 required

optional string id = 3355;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Google specified expression set ID. The format should be: - E.g. XSS-20170329 required

optional string id = 3355;

Returns
Type Description
ByteString

The bytes for id.

hasId()

public boolean hasId()

Google specified expression set ID. The format should be: - E.g. XSS-20170329 required

optional string id = 3355;

Returns
Type Description
boolean

Whether the id field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WafExpressionSet other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeExpressions(int index)

public WafExpressionSet.Builder removeExpressions(int index)

List of available expressions.

repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;

Parameter
Name Description
index int
Returns
Type Description
WafExpressionSet.Builder

setAliases(int index, String value)

public WafExpressionSet.Builder setAliases(int index, String value)

A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like "stable" is particularly useful if a policy likes to avail newer set of expressions without having to change the policy. A given alias name can't be used for more than one entity set.

repeated string aliases = 159207166;

Parameters
Name Description
index int

The index to set the value at.

value String

The aliases to set.

Returns
Type Description
WafExpressionSet.Builder

This builder for chaining.

setExpressions(int index, WafExpressionSetExpression value)

public WafExpressionSet.Builder setExpressions(int index, WafExpressionSetExpression value)

List of available expressions.

repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;

Parameters
Name Description
index int
value WafExpressionSetExpression
Returns
Type Description
WafExpressionSet.Builder

setExpressions(int index, WafExpressionSetExpression.Builder builderForValue)

public WafExpressionSet.Builder setExpressions(int index, WafExpressionSetExpression.Builder builderForValue)

List of available expressions.

repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;

Parameters
Name Description
index int
builderForValue WafExpressionSetExpression.Builder
Returns
Type Description
WafExpressionSet.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(String value)

public WafExpressionSet.Builder setId(String value)

Google specified expression set ID. The format should be: - E.g. XSS-20170329 required

optional string id = 3355;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
WafExpressionSet.Builder

This builder for chaining.

setIdBytes(ByteString value)

public WafExpressionSet.Builder setIdBytes(ByteString value)

Google specified expression set ID. The format should be: - E.g. XSS-20170329 required

optional string id = 3355;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
WafExpressionSet.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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