public static final class WafExpressionSetExpression.Builder extends GeneratedMessageV3.Builder<WafExpressionSetExpression.Builder> implements WafExpressionSetExpressionOrBuilder
Protobuf type google.cloud.compute.v1.WafExpressionSetExpression
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WafExpressionSetExpression.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public WafExpressionSetExpression build()
Returns
buildPartial()
public WafExpressionSetExpression buildPartial()
Returns
clear()
public WafExpressionSetExpression.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public WafExpressionSetExpression.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearId()
public WafExpressionSetExpression.Builder clearId()
Expression ID should uniquely identify the origin of the expression. E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID could be used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive. required
optional string id = 3355;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public WafExpressionSetExpression.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public WafExpressionSetExpression.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public WafExpressionSetExpression getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getId()
Expression ID should uniquely identify the origin of the expression. E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID could be used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive. required
optional string id = 3355;
Returns
getIdBytes()
public ByteString getIdBytes()
Expression ID should uniquely identify the origin of the expression. E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID could be used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive. required
optional string id = 3355;
Returns
hasId()
Expression ID should uniquely identify the origin of the expression. E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID could be used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive. required
optional string id = 3355;
Returns
Type | Description |
boolean | Whether the id field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(WafExpressionSetExpression other)
public WafExpressionSetExpression.Builder mergeFrom(WafExpressionSetExpression other)
Parameter
Returns
public WafExpressionSetExpression.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public WafExpressionSetExpression.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WafExpressionSetExpression.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public WafExpressionSetExpression.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setId(String value)
public WafExpressionSetExpression.Builder setId(String value)
Expression ID should uniquely identify the origin of the expression. E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID could be used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive. required
optional string id = 3355;
Parameter
Name | Description |
value | String
The id to set.
|
Returns
setIdBytes(ByteString value)
public WafExpressionSetExpression.Builder setIdBytes(ByteString value)
Expression ID should uniquely identify the origin of the expression. E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID could be used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive. required
optional string id = 3355;
Parameter
Name | Description |
value | ByteString
The bytes for id to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WafExpressionSetExpression.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WafExpressionSetExpression.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides