public final class WafExpressionSet extends GeneratedMessageV3 implements WafExpressionSetOrBuilder
Protobuf type google.cloud.compute.v1.WafExpressionSet
Static Fields
ALIASES_FIELD_NUMBER
public static final int ALIASES_FIELD_NUMBER
Field Value
EXPRESSIONS_FIELD_NUMBER
public static final int EXPRESSIONS_FIELD_NUMBER
Field Value
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static WafExpressionSet getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static WafExpressionSet.Builder newBuilder()
Returns
newBuilder(WafExpressionSet prototype)
public static WafExpressionSet.Builder newBuilder(WafExpressionSet prototype)
Parameter
Returns
public static WafExpressionSet parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static WafExpressionSet parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static WafExpressionSet parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WafExpressionSet parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static WafExpressionSet parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WafExpressionSet parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WafExpressionSet parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static WafExpressionSet parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WafExpressionSet parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static WafExpressionSet parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static WafExpressionSet parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WafExpressionSet parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<WafExpressionSet> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
getDefaultInstanceForType()
public WafExpressionSet getDefaultInstanceForType()
Returns
getExpressions(int index)
public WafExpressionSetExpression getExpressions(int index)
List of available expressions.
repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;
Parameter
Returns
getExpressionsCount()
public int getExpressionsCount()
List of available expressions.
repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;
Returns
getExpressionsList()
public List<WafExpressionSetExpression> getExpressionsList()
List of available expressions.
repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;
Returns
getExpressionsOrBuilder(int index)
public WafExpressionSetExpressionOrBuilder getExpressionsOrBuilder(int index)
List of available expressions.
repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;
Parameter
Returns
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()
Google specified expression set ID. The format should be: - E.g. XSS-20170329 required
optional string id = 3355;
Returns
getIdBytes()
public ByteString getIdBytes()
Google specified expression set ID. The format should be: - E.g. XSS-20170329 required
optional string id = 3355;
Returns
getParserForType()
public Parser<WafExpressionSet> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public WafExpressionSet.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WafExpressionSet.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public WafExpressionSet.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions