Package com.google.cloud.compute.v1
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enumstatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic final com.google.protobuf.Descriptors.DescriptorCustom configuration to apply the JSON parsing.Custom configuration to apply the JSON parsing.Check the JsonParsing enum for the list of possible values.com.google.protobuf.ByteStringCheck the JsonParsing enum for the list of possible values.Check the LogLevel enum for the list of possible values.com.google.protobuf.ByteStringCheck the LogLevel enum for the list of possible values.com.google.protobuf.Parser<SecurityPolicyAdvancedOptionsConfig>The maximum request size chosen by the customer with Waf enabled.com.google.protobuf.ByteStringThe maximum request size chosen by the customer with Waf enabled.intgetUserIpRequestHeaders(int index) An optional list of case-insensitive request header names to use for resolving the callers client IP address.com.google.protobuf.ByteStringgetUserIpRequestHeadersBytes(int index) An optional list of case-insensitive request header names to use for resolving the callers client IP address.intAn optional list of case-insensitive request header names to use for resolving the callers client IP address.com.google.protobuf.ProtocolStringListAn optional list of case-insensitive request header names to use for resolving the callers client IP address.inthashCode()booleanCustom configuration to apply the JSON parsing.booleanCheck the JsonParsing enum for the list of possible values.booleanCheck the LogLevel enum for the list of possible values.booleanThe maximum request size chosen by the customer with Waf enabled.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(SecurityPolicyAdvancedOptionsConfig prototype) newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SecurityPolicyAdvancedOptionsConfig>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetFieldAccessorTablein classcom.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:
hasJsonCustomConfigin interfaceSecurityPolicyAdvancedOptionsConfigOrBuilder- 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:
getJsonCustomConfigin interfaceSecurityPolicyAdvancedOptionsConfigOrBuilder- Returns:
- The jsonCustomConfig.
-
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:
getJsonCustomConfigOrBuilderin interfaceSecurityPolicyAdvancedOptionsConfigOrBuilder
-
hasJsonParsing
public boolean hasJsonParsing()Check the JsonParsing enum for the list of possible values.
optional string json_parsing = 282493529;- Specified by:
hasJsonParsingin interfaceSecurityPolicyAdvancedOptionsConfigOrBuilder- Returns:
- Whether the jsonParsing field is set.
-
getJsonParsing
Check the JsonParsing enum for the list of possible values.
optional string json_parsing = 282493529;- Specified by:
getJsonParsingin interfaceSecurityPolicyAdvancedOptionsConfigOrBuilder- 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:
getJsonParsingBytesin interfaceSecurityPolicyAdvancedOptionsConfigOrBuilder- 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:
hasLogLevelin interfaceSecurityPolicyAdvancedOptionsConfigOrBuilder- Returns:
- Whether the logLevel field is set.
-
getLogLevel
Check the LogLevel enum for the list of possible values.
optional string log_level = 140582601;- Specified by:
getLogLevelin interfaceSecurityPolicyAdvancedOptionsConfigOrBuilder- 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:
getLogLevelBytesin interfaceSecurityPolicyAdvancedOptionsConfigOrBuilder- 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:
hasRequestBodyInspectionSizein interfaceSecurityPolicyAdvancedOptionsConfigOrBuilder- Returns:
- Whether the requestBodyInspectionSize field is set.
-
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:
getRequestBodyInspectionSizein interfaceSecurityPolicyAdvancedOptionsConfigOrBuilder- 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:
getRequestBodyInspectionSizeBytesin interfaceSecurityPolicyAdvancedOptionsConfigOrBuilder- 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:
getUserIpRequestHeadersListin interfaceSecurityPolicyAdvancedOptionsConfigOrBuilder- 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:
getUserIpRequestHeadersCountin interfaceSecurityPolicyAdvancedOptionsConfigOrBuilder- Returns:
- The count of userIpRequestHeaders.
-
getUserIpRequestHeaders
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:
getUserIpRequestHeadersin interfaceSecurityPolicyAdvancedOptionsConfigOrBuilder- 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:
getUserIpRequestHeadersBytesin interfaceSecurityPolicyAdvancedOptionsConfigOrBuilder- 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:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static SecurityPolicyAdvancedOptionsConfig.Builder newBuilder(SecurityPolicyAdvancedOptionsConfig prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SecurityPolicyAdvancedOptionsConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-