Class PreconfiguredWafSet (1.50.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static PreconfiguredWafSet getDefaultInstance()
Returns
TypeDescription
PreconfiguredWafSet

getDescriptor()

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

newBuilder()

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

newBuilder(PreconfiguredWafSet prototype)

public static PreconfiguredWafSet.Builder newBuilder(PreconfiguredWafSet prototype)
Parameter
NameDescription
prototypePreconfiguredWafSet
Returns
TypeDescription
PreconfiguredWafSet.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PreconfiguredWafSet getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.compute.v1.WafExpressionSetOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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