Class SecurityPoliciesWafConfig (1.31.0)

public final class SecurityPoliciesWafConfig extends GeneratedMessageV3 implements SecurityPoliciesWafConfigOrBuilder

Protobuf type google.cloud.compute.v1.SecurityPoliciesWafConfig

Static Fields

WAF_RULES_FIELD_NUMBER

public static final int WAF_RULES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SecurityPoliciesWafConfig getDefaultInstance()
Returns
TypeDescription
SecurityPoliciesWafConfig

getDescriptor()

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

newBuilder()

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

newBuilder(SecurityPoliciesWafConfig prototype)

public static SecurityPoliciesWafConfig.Builder newBuilder(SecurityPoliciesWafConfig prototype)
Parameter
NameDescription
prototypeSecurityPoliciesWafConfig
Returns
TypeDescription
SecurityPoliciesWafConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SecurityPoliciesWafConfig getDefaultInstanceForType()
Returns
TypeDescription
SecurityPoliciesWafConfig

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getWafRules()

public PreconfiguredWafSet getWafRules()

optional .google.cloud.compute.v1.PreconfiguredWafSet waf_rules = 74899924;

Returns
TypeDescription
PreconfiguredWafSet

The wafRules.

getWafRulesOrBuilder()

public PreconfiguredWafSetOrBuilder getWafRulesOrBuilder()

optional .google.cloud.compute.v1.PreconfiguredWafSet waf_rules = 74899924;

Returns
TypeDescription
PreconfiguredWafSetOrBuilder

hasWafRules()

public boolean hasWafRules()

optional .google.cloud.compute.v1.PreconfiguredWafSet waf_rules = 74899924;

Returns
TypeDescription
boolean

Whether the wafRules 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

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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