Class SecurityPolicyAdvancedOptionsConfig (1.59.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
Type Description
int

JSON_PARSING_FIELD_NUMBER

public static final int JSON_PARSING_FIELD_NUMBER
Field Value
Type Description
int

LOG_LEVEL_FIELD_NUMBER

public static final int LOG_LEVEL_FIELD_NUMBER
Field Value
Type Description
int

USER_IP_REQUEST_HEADERS_FIELD_NUMBER

public static final int USER_IP_REQUEST_HEADERS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SecurityPolicyAdvancedOptionsConfig getDefaultInstance()
Returns
Type Description
SecurityPolicyAdvancedOptionsConfig

getDescriptor()

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

newBuilder()

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

newBuilder(SecurityPolicyAdvancedOptionsConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SecurityPolicyAdvancedOptionsConfig getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder

getJsonParsing()

public String getJsonParsing()

Check the JsonParsing enum for the list of possible values.

optional string json_parsing = 282493529;

Returns
Type Description
String

The jsonParsing.

getJsonParsingBytes()

public ByteString getJsonParsingBytes()

Check the JsonParsing enum for the list of possible values.

optional string json_parsing = 282493529;

Returns
Type Description
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
Type Description
String

The logLevel.

getLogLevelBytes()

public ByteString getLogLevelBytes()

Check the LogLevel enum for the list of possible values.

optional string log_level = 140582601;

Returns
Type Description
ByteString

The bytes for logLevel.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUserIpRequestHeaders(int index)

public String getUserIpRequestHeaders(int index)

An optional list of case-insensitive request header names to use for resolving the callers client IP address.

repeated string user_ip_request_headers = 421050290;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The userIpRequestHeaders at the given index.

getUserIpRequestHeadersBytes(int index)

public ByteString getUserIpRequestHeadersBytes(int index)

An optional list of case-insensitive request header names to use for resolving the callers client IP address.

repeated string user_ip_request_headers = 421050290;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the userIpRequestHeaders at the given index.

getUserIpRequestHeadersCount()

public int getUserIpRequestHeadersCount()

An optional list of case-insensitive request header names to use for resolving the callers client IP address.

repeated string user_ip_request_headers = 421050290;

Returns
Type Description
int

The count of userIpRequestHeaders.

getUserIpRequestHeadersList()

public ProtocolStringList getUserIpRequestHeadersList()

An optional list of case-insensitive request header names to use for resolving the callers client IP address.

repeated string user_ip_request_headers = 421050290;

Returns
Type Description
ProtocolStringList

A list containing the userIpRequestHeaders.

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
Type Description
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
Type Description
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
Type Description
boolean

Whether the logLevel field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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