Class SecurityPolicyAdvancedOptionsConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig
All Implemented Interfaces:
SecurityPolicyAdvancedOptionsConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class SecurityPolicyAdvancedOptionsConfig extends com.google.protobuf.GeneratedMessage implements SecurityPolicyAdvancedOptionsConfigOrBuilder
 
Protobuf type google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig
See Also:
  • Field Details

    • JSON_CUSTOM_CONFIG_FIELD_NUMBER

      public static final int JSON_CUSTOM_CONFIG_FIELD_NUMBER
      See Also:
    • JSON_PARSING_FIELD_NUMBER

      public static final int JSON_PARSING_FIELD_NUMBER
      See Also:
    • LOG_LEVEL_FIELD_NUMBER

      public static final int LOG_LEVEL_FIELD_NUMBER
      See Also:
    • REQUEST_BODY_INSPECTION_SIZE_FIELD_NUMBER

      public static final int REQUEST_BODY_INSPECTION_SIZE_FIELD_NUMBER
      See Also:
    • USER_IP_REQUEST_HEADERS_FIELD_NUMBER

      public static final int USER_IP_REQUEST_HEADERS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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;
      Specified by:
      hasJsonCustomConfig in interface SecurityPolicyAdvancedOptionsConfigOrBuilder
      Returns:
      Whether the jsonCustomConfig field is set.
    • 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;
      Specified by:
      getJsonCustomConfig in interface SecurityPolicyAdvancedOptionsConfigOrBuilder
      Returns:
      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;
      Specified by:
      getJsonCustomConfigOrBuilder in interface SecurityPolicyAdvancedOptionsConfigOrBuilder
    • hasJsonParsing

      public boolean hasJsonParsing()
      
       Check the JsonParsing enum for the list of possible values.
       
      optional string json_parsing = 282493529;
      Specified by:
      hasJsonParsing in interface SecurityPolicyAdvancedOptionsConfigOrBuilder
      Returns:
      Whether the jsonParsing field is set.
    • getJsonParsing

      public String getJsonParsing()
      
       Check the JsonParsing enum for the list of possible values.
       
      optional string json_parsing = 282493529;
      Specified by:
      getJsonParsing in interface SecurityPolicyAdvancedOptionsConfigOrBuilder
      Returns:
      The jsonParsing.
    • getJsonParsingBytes

      public com.google.protobuf.ByteString getJsonParsingBytes()
      
       Check the JsonParsing enum for the list of possible values.
       
      optional string json_parsing = 282493529;
      Specified by:
      getJsonParsingBytes in interface SecurityPolicyAdvancedOptionsConfigOrBuilder
      Returns:
      The bytes for jsonParsing.
    • hasLogLevel

      public boolean hasLogLevel()
      
       Check the LogLevel enum for the list of possible values.
       
      optional string log_level = 140582601;
      Specified by:
      hasLogLevel in interface SecurityPolicyAdvancedOptionsConfigOrBuilder
      Returns:
      Whether the logLevel field is set.
    • getLogLevel

      public String getLogLevel()
      
       Check the LogLevel enum for the list of possible values.
       
      optional string log_level = 140582601;
      Specified by:
      getLogLevel in interface SecurityPolicyAdvancedOptionsConfigOrBuilder
      Returns:
      The logLevel.
    • getLogLevelBytes

      public com.google.protobuf.ByteString getLogLevelBytes()
      
       Check the LogLevel enum for the list of possible values.
       
      optional string log_level = 140582601;
      Specified by:
      getLogLevelBytes in interface SecurityPolicyAdvancedOptionsConfigOrBuilder
      Returns:
      The bytes for logLevel.
    • hasRequestBodyInspectionSize

      public boolean hasRequestBodyInspectionSize()
       The maximum request size chosen by the customer with Waf enabled.
       Values supported are "8KB", "16KB, "32KB", "48KB" and "64KB".
       Values are case insensitive.
       
      optional string request_body_inspection_size = 191268607;
      Specified by:
      hasRequestBodyInspectionSize in interface SecurityPolicyAdvancedOptionsConfigOrBuilder
      Returns:
      Whether the requestBodyInspectionSize field is set.
    • getRequestBodyInspectionSize

      public String getRequestBodyInspectionSize()
       The maximum request size chosen by the customer with Waf enabled.
       Values supported are "8KB", "16KB, "32KB", "48KB" and "64KB".
       Values are case insensitive.
       
      optional string request_body_inspection_size = 191268607;
      Specified by:
      getRequestBodyInspectionSize in interface SecurityPolicyAdvancedOptionsConfigOrBuilder
      Returns:
      The requestBodyInspectionSize.
    • getRequestBodyInspectionSizeBytes

      public com.google.protobuf.ByteString getRequestBodyInspectionSizeBytes()
       The maximum request size chosen by the customer with Waf enabled.
       Values supported are "8KB", "16KB, "32KB", "48KB" and "64KB".
       Values are case insensitive.
       
      optional string request_body_inspection_size = 191268607;
      Specified by:
      getRequestBodyInspectionSizeBytes in interface SecurityPolicyAdvancedOptionsConfigOrBuilder
      Returns:
      The bytes for requestBodyInspectionSize.
    • getUserIpRequestHeadersList

      public com.google.protobuf.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;
      Specified by:
      getUserIpRequestHeadersList in interface SecurityPolicyAdvancedOptionsConfigOrBuilder
      Returns:
      A list containing the userIpRequestHeaders.
    • 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;
      Specified by:
      getUserIpRequestHeadersCount in interface SecurityPolicyAdvancedOptionsConfigOrBuilder
      Returns:
      The count of userIpRequestHeaders.
    • getUserIpRequestHeaders

      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;
      Specified by:
      getUserIpRequestHeaders in interface SecurityPolicyAdvancedOptionsConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The userIpRequestHeaders at the given index.
    • getUserIpRequestHeadersBytes

      public com.google.protobuf.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;
      Specified by:
      getUserIpRequestHeadersBytes in interface SecurityPolicyAdvancedOptionsConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the userIpRequestHeaders at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SecurityPolicyAdvancedOptionsConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SecurityPolicyAdvancedOptionsConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SecurityPolicyAdvancedOptionsConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SecurityPolicyAdvancedOptionsConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SecurityPolicyAdvancedOptionsConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SecurityPolicyAdvancedOptionsConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SecurityPolicyAdvancedOptionsConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SecurityPolicyAdvancedOptionsConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SecurityPolicyAdvancedOptionsConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SecurityPolicyAdvancedOptionsConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SecurityPolicyAdvancedOptionsConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SecurityPolicyAdvancedOptionsConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public SecurityPolicyAdvancedOptionsConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static SecurityPolicyAdvancedOptionsConfig.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SecurityPolicyAdvancedOptionsConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static SecurityPolicyAdvancedOptionsConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SecurityPolicyAdvancedOptionsConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<SecurityPolicyAdvancedOptionsConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public SecurityPolicyAdvancedOptionsConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder