- 1.86.0 (latest)
 - 1.85.0
 - 1.84.0
 - 1.83.0
 - 1.82.0
 - 1.80.0
 - 1.78.0
 - 1.77.0
 - 1.74.0
 - 1.73.0
 - 1.72.0
 - 1.70.0
 - 1.69.0
 - 1.68.0
 - 1.67.0
 - 1.66.0
 - 1.65.0
 - 1.64.0
 - 1.63.0
 - 1.62.0
 - 1.61.0
 - 1.59.0
 - 1.58.0
 - 1.57.0
 - 1.56.0
 - 1.55.0
 - 1.54.0
 - 1.53.0
 - 1.52.0
 - 1.51.0
 - 1.50.0
 - 1.49.0
 - 1.47.0
 - 1.46.0
 - 1.45.0
 - 1.44.0
 - 1.43.0
 - 1.42.0
 - 1.41.0
 - 1.40.0
 - 1.39.0
 - 1.38.0
 - 1.37.0
 - 1.34.0
 - 1.33.0
 - 1.32.0
 - 1.31.0
 - 1.30.0
 - 1.29.0
 - 1.28.0
 - 1.27.0
 - 1.26.0
 - 1.25.0
 - 1.24.0
 - 1.23.0
 - 1.22.0
 - 1.21.0
 - 1.20.0
 - 1.19.0
 - 1.18.0
 - 1.17.0
 - 1.16.0
 - 1.15.0
 - 1.14.0
 - 1.13.0
 - 1.12.1
 - 1.11.0
 - 1.9.1
 - 1.8.1
 - 1.7.2
 - 1.6.0-beta
 
public static final class WafExpressionSet.Builder extends GeneratedMessageV3.Builder<WafExpressionSet.Builder> implements WafExpressionSetOrBuilder Protobuf type google.cloud.compute.v1.WafExpressionSet
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > WafExpressionSet.BuilderImplements
WafExpressionSetOrBuilderStatic 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 | 
        StringThe 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 | 
        ByteStringThe 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 | 
        |
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 | 
        |
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 | 
        |
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 | 
        |
clone()
public WafExpressionSet.Builder clone()| Returns | |
|---|---|
| Type | Description | 
WafExpressionSet.Builder | 
        |
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 | 
        intThe 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 | 
        intThe 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 | 
        |
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 | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
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 | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public WafExpressionSet.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
WafExpressionSet.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WafExpressionSet.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
WafExpressionSet.Builder | 
        |
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 | 
        intThe index to set the value at.  | 
      
value | 
        StringThe 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 | 
        |
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 | 
        StringThe 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 | 
        ByteStringThe 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 | 
        |
setUnknownFields(UnknownFieldSet unknownFields)
public final WafExpressionSet.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
WafExpressionSet.Builder | 
        |