Class WafExpressionSet (1.6.0-beta)

public final class WafExpressionSet extends GeneratedMessageV3 implements WafExpressionSetOrBuilder

Protobuf type google.cloud.compute.v1.WafExpressionSet

Fields

ALIASES_FIELD_NUMBER

public static final int ALIASES_FIELD_NUMBER
Field Value
TypeDescription
int

EXPRESSIONS_FIELD_NUMBER

public static final int EXPRESSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the aliases.

getDefaultInstance()

public static WafExpressionSet getDefaultInstance()
Returns
TypeDescription
WafExpressionSet

getDefaultInstanceForType()

public WafExpressionSet getDefaultInstanceForType()
Returns
TypeDescription
WafExpressionSet

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getExpressions(int index)

public WafExpressionSetExpression getExpressions(int index)

List of available expressions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
WafExpressionSetExpression

getExpressionsCount()

public int getExpressionsCount()

List of available expressions.

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

Returns
TypeDescription
int

getExpressionsList()

public List<WafExpressionSetExpression> getExpressionsList()

List of available expressions.

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

Returns
TypeDescription
List<WafExpressionSetExpression>

getExpressionsOrBuilder(int index)

public WafExpressionSetExpressionOrBuilder getExpressionsOrBuilder(int index)

List of available expressions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
WafExpressionSetExpressionOrBuilder

getExpressionsOrBuilderList()

public List<? extends WafExpressionSetExpressionOrBuilder> getExpressionsOrBuilderList()

List of available expressions.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for id.

getParserForType()

public Parser<WafExpressionSet> getParserForType()
Returns
TypeDescription
Parser<WafExpressionSet>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasId()

public boolean hasId()

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

optional string id = 3355;

Returns
TypeDescription
boolean

Whether the id field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilder()

public static WafExpressionSet.Builder newBuilder()
Returns
TypeDescription
WafExpressionSet.Builder

newBuilder(WafExpressionSet prototype)

public static WafExpressionSet.Builder newBuilder(WafExpressionSet prototype)
Parameter
NameDescription
prototypeWafExpressionSet
Returns
TypeDescription
WafExpressionSet.Builder

newBuilderForType()

public WafExpressionSet.Builder newBuilderForType()
Returns
TypeDescription
WafExpressionSet.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WafExpressionSet.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
WafExpressionSet.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

parseDelimitedFrom(InputStream input)

public static WafExpressionSet parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WafExpressionSet
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSet parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WafExpressionSet
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static WafExpressionSet parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
WafExpressionSet
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSet parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WafExpressionSet
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WafExpressionSet parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
WafExpressionSet
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSet parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WafExpressionSet
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WafExpressionSet parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
WafExpressionSet
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSet parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WafExpressionSet
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static WafExpressionSet parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WafExpressionSet
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSet parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WafExpressionSet
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static WafExpressionSet parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
WafExpressionSet
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSet parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WafExpressionSet
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<WafExpressionSet> parser()
Returns
TypeDescription
Parser<WafExpressionSet>

toBuilder()

public WafExpressionSet.Builder toBuilder()
Returns
TypeDescription
WafExpressionSet.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException