Class PreconfiguredWafSet (1.53.0)

public final class PreconfiguredWafSet extends GeneratedMessageV3 implements PreconfiguredWafSetOrBuilder

Protobuf type google.cloud.compute.v1.PreconfiguredWafSet

Static Fields

EXPRESSION_SETS_FIELD_NUMBER

public static final int EXPRESSION_SETS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PreconfiguredWafSet getDefaultInstance()
Returns
Type Description
PreconfiguredWafSet

getDescriptor()

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

newBuilder()

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

newBuilder(PreconfiguredWafSet prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PreconfiguredWafSet getDefaultInstanceForType()
Returns
Type Description
PreconfiguredWafSet

getExpressionSets(int index)

public WafExpressionSet getExpressionSets(int index)

List of entities that are currently supported for WAF rules.

repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;

Parameter
Name Description
index int
Returns
Type Description
WafExpressionSet

getExpressionSetsCount()

public int getExpressionSetsCount()

List of entities that are currently supported for WAF rules.

repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;

Returns
Type Description
int

getExpressionSetsList()

public List<WafExpressionSet> getExpressionSetsList()

List of entities that are currently supported for WAF rules.

repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;

Returns
Type Description
List<WafExpressionSet>

getExpressionSetsOrBuilder(int index)

public WafExpressionSetOrBuilder getExpressionSetsOrBuilder(int index)

List of entities that are currently supported for WAF rules.

repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;

Parameter
Name Description
index int
Returns
Type Description
WafExpressionSetOrBuilder

getExpressionSetsOrBuilderList()

public List<? extends WafExpressionSetOrBuilder> getExpressionSetsOrBuilderList()

List of entities that are currently supported for WAF rules.

repeated .google.cloud.compute.v1.WafExpressionSet expression_sets = 474011032;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.WafExpressionSetOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 PreconfiguredWafSet.Builder newBuilderForType()
Returns
Type Description
PreconfiguredWafSet.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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