Class WafExpressionSet (1.64.0)

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
Type Description
int

EXPRESSIONS_FIELD_NUMBER

public static final int EXPRESSIONS_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WafExpressionSet getDefaultInstance()
Returns
Type Description
WafExpressionSet

getDescriptor()

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

newBuilder()

public static WafExpressionSet.Builder newBuilder()
Returns
Type Description
WafExpressionSet.Builder

newBuilder(WafExpressionSet prototype)

public static WafExpressionSet.Builder newBuilder(WafExpressionSet prototype)
Parameter
Name Description
prototype WafExpressionSet
Returns
Type Description
WafExpressionSet.Builder

parseDelimitedFrom(InputStream input)

public static WafExpressionSet parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WafExpressionSet
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSet parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WafExpressionSet
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static WafExpressionSet parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
WafExpressionSet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSet parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WafExpressionSet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WafExpressionSet parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WafExpressionSet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSet parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WafExpressionSet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WafExpressionSet parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WafExpressionSet
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSet parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WafExpressionSet
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static WafExpressionSet parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WafExpressionSet
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSet parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WafExpressionSet
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static WafExpressionSet parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WafExpressionSet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSet parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WafExpressionSet
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<WafExpressionSet> parser()
Returns
Type Description
Parser<WafExpressionSet>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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

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.

getParserForType()

public Parser<WafExpressionSet> getParserForType()
Returns
Type Description
Parser<WafExpressionSet>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public WafExpressionSet.Builder newBuilderForType()
Returns
Type Description
WafExpressionSet.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WafExpressionSet.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WafExpressionSet.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public WafExpressionSet.Builder toBuilder()
Returns
Type Description
WafExpressionSet.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException