Class SecurityPolicyAdvancedOptionsConfig (1.28.0)

public final class SecurityPolicyAdvancedOptionsConfig extends GeneratedMessageV3 implements SecurityPolicyAdvancedOptionsConfigOrBuilder

Protobuf type google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SecurityPolicyAdvancedOptionsConfig

Static Fields

JSON_CUSTOM_CONFIG_FIELD_NUMBER

public static final int JSON_CUSTOM_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

JSON_PARSING_FIELD_NUMBER

public static final int JSON_PARSING_FIELD_NUMBER
Field Value
TypeDescription
int

LOG_LEVEL_FIELD_NUMBER

public static final int LOG_LEVEL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SecurityPolicyAdvancedOptionsConfig getDefaultInstance()
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfig

getDescriptor()

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

newBuilder()

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

newBuilder(SecurityPolicyAdvancedOptionsConfig prototype)

public static SecurityPolicyAdvancedOptionsConfig.Builder newBuilder(SecurityPolicyAdvancedOptionsConfig prototype)
Parameter
NameDescription
prototypeSecurityPolicyAdvancedOptionsConfig
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SecurityPolicyAdvancedOptionsConfig getDefaultInstanceForType()
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfig

getJsonCustomConfig()

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig getJsonCustomConfig()

Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.

optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig json_custom_config = 111570105;

Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig

The jsonCustomConfig.

getJsonCustomConfigOrBuilder()

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder getJsonCustomConfigOrBuilder()

Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.

optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig json_custom_config = 111570105;

Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder

getJsonParsing()

public String getJsonParsing()

Check the JsonParsing enum for the list of possible values.

optional string json_parsing = 282493529;

Returns
TypeDescription
String

The jsonParsing.

getJsonParsingBytes()

public ByteString getJsonParsingBytes()

Check the JsonParsing enum for the list of possible values.

optional string json_parsing = 282493529;

Returns
TypeDescription
ByteString

The bytes for jsonParsing.

getLogLevel()

public String getLogLevel()

Check the LogLevel enum for the list of possible values.

optional string log_level = 140582601;

Returns
TypeDescription
String

The logLevel.

getLogLevelBytes()

public ByteString getLogLevelBytes()

Check the LogLevel enum for the list of possible values.

optional string log_level = 140582601;

Returns
TypeDescription
ByteString

The bytes for logLevel.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasJsonCustomConfig()

public boolean hasJsonCustomConfig()

Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.

optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig json_custom_config = 111570105;

Returns
TypeDescription
boolean

Whether the jsonCustomConfig field is set.

hasJsonParsing()

public boolean hasJsonParsing()

Check the JsonParsing enum for the list of possible values.

optional string json_parsing = 282493529;

Returns
TypeDescription
boolean

Whether the jsonParsing field is set.

hasLogLevel()

public boolean hasLogLevel()

Check the LogLevel enum for the list of possible values.

optional string log_level = 140582601;

Returns
TypeDescription
boolean

Whether the logLevel 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 SecurityPolicyAdvancedOptionsConfig.Builder newBuilderForType()
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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