public final class SecurityPolicy extends com.google.protobuf.GeneratedMessageV3 implements SecurityPolicyOrBuilder
Represents a Google Cloud Armor security policy resource. Only external backend services that use load balancers can reference a security policy. For more information, see Google Cloud Armor security policy overview.Protobuf type
google.cloud.compute.v1.SecurityPolicy| Modifier and Type | Class and Description |
|---|---|
static class |
SecurityPolicy.Builder
Represents a Google Cloud Armor security policy resource.
|
static class |
SecurityPolicy.Type
The type indicates the intended use of the security policy.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ADAPTIVE_PROTECTION_CONFIG_FIELD_NUMBER |
static int |
ADVANCED_OPTIONS_CONFIG_FIELD_NUMBER |
static int |
CREATION_TIMESTAMP_FIELD_NUMBER |
static int |
DDOS_PROTECTION_CONFIG_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
FINGERPRINT_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
RECAPTCHA_OPTIONS_CONFIG_FIELD_NUMBER |
static int |
REGION_FIELD_NUMBER |
static int |
RULES_FIELD_NUMBER |
static int |
SELF_LINK_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
SecurityPolicyAdaptiveProtectionConfig |
getAdaptiveProtectionConfig()
optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig adaptive_protection_config = 150240735;
|
SecurityPolicyAdaptiveProtectionConfigOrBuilder |
getAdaptiveProtectionConfigOrBuilder()
optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig adaptive_protection_config = 150240735;
|
SecurityPolicyAdvancedOptionsConfig |
getAdvancedOptionsConfig()
optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig advanced_options_config = 449276352;
|
SecurityPolicyAdvancedOptionsConfigOrBuilder |
getAdvancedOptionsConfigOrBuilder()
optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig advanced_options_config = 449276352;
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
SecurityPolicyDdosProtectionConfig |
getDdosProtectionConfig()
optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853;
|
SecurityPolicyDdosProtectionConfigOrBuilder |
getDdosProtectionConfigOrBuilder()
optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853;
|
static SecurityPolicy |
getDefaultInstance() |
SecurityPolicy |
getDefaultInstanceForType() |
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFingerprint()
Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking.
|
com.google.protobuf.ByteString |
getFingerprintBytes()
Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking.
|
long |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output only] Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output only] Type of the resource.
|
String |
getName()
Name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the resource.
|
com.google.protobuf.Parser<SecurityPolicy> |
getParserForType() |
SecurityPolicyRecaptchaOptionsConfig |
getRecaptchaOptionsConfig()
optional .google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig recaptcha_options_config = 519006811;
|
SecurityPolicyRecaptchaOptionsConfigOrBuilder |
getRecaptchaOptionsConfigOrBuilder()
optional .google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig recaptcha_options_config = 519006811;
|
String |
getRegion()
[Output Only] URL of the region where the regional security policy resides.
|
com.google.protobuf.ByteString |
getRegionBytes()
[Output Only] URL of the region where the regional security policy resides.
|
SecurityPolicyRule |
getRules(int index)
A list of rules that belong to this policy.
|
int |
getRulesCount()
A list of rules that belong to this policy.
|
List<SecurityPolicyRule> |
getRulesList()
A list of rules that belong to this policy.
|
SecurityPolicyRuleOrBuilder |
getRulesOrBuilder(int index)
A list of rules that belong to this policy.
|
List<? extends SecurityPolicyRuleOrBuilder> |
getRulesOrBuilderList()
A list of rules that belong to this policy.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
int |
getSerializedSize() |
String |
getType()
The type indicates the intended use of the security policy.
|
com.google.protobuf.ByteString |
getTypeBytes()
The type indicates the intended use of the security policy.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAdaptiveProtectionConfig()
optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig adaptive_protection_config = 150240735;
|
boolean |
hasAdvancedOptionsConfig()
optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig advanced_options_config = 449276352;
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDdosProtectionConfig()
optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853;
|
boolean |
hasDescription()
An optional description of this resource.
|
boolean |
hasFingerprint()
Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking.
|
int |
hashCode() |
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasKind()
[Output only] Type of the resource.
|
boolean |
hasName()
Name of the resource.
|
boolean |
hasRecaptchaOptionsConfig()
optional .google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig recaptcha_options_config = 519006811;
|
boolean |
hasRegion()
[Output Only] URL of the region where the regional security policy resides.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasType()
The type indicates the intended use of the security policy.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SecurityPolicy.Builder |
newBuilder() |
static SecurityPolicy.Builder |
newBuilder(SecurityPolicy prototype) |
SecurityPolicy.Builder |
newBuilderForType() |
protected SecurityPolicy.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SecurityPolicy |
parseDelimitedFrom(InputStream input) |
static SecurityPolicy |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SecurityPolicy |
parseFrom(byte[] data) |
static SecurityPolicy |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SecurityPolicy |
parseFrom(ByteBuffer data) |
static SecurityPolicy |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SecurityPolicy |
parseFrom(com.google.protobuf.ByteString data) |
static SecurityPolicy |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SecurityPolicy |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SecurityPolicy |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SecurityPolicy |
parseFrom(InputStream input) |
static SecurityPolicy |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SecurityPolicy> |
parser() |
SecurityPolicy.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ADAPTIVE_PROTECTION_CONFIG_FIELD_NUMBER
public static final int ADVANCED_OPTIONS_CONFIG_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
public static final int DDOS_PROTECTION_CONFIG_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int FINGERPRINT_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int RECAPTCHA_OPTIONS_CONFIG_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
public static final int RULES_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasAdaptiveProtectionConfig()
optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig adaptive_protection_config = 150240735;
hasAdaptiveProtectionConfig in interface SecurityPolicyOrBuilderpublic SecurityPolicyAdaptiveProtectionConfig getAdaptiveProtectionConfig()
optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig adaptive_protection_config = 150240735;
getAdaptiveProtectionConfig in interface SecurityPolicyOrBuilderpublic SecurityPolicyAdaptiveProtectionConfigOrBuilder getAdaptiveProtectionConfigOrBuilder()
optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig adaptive_protection_config = 150240735;
getAdaptiveProtectionConfigOrBuilder in interface SecurityPolicyOrBuilderpublic boolean hasAdvancedOptionsConfig()
optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig advanced_options_config = 449276352;
hasAdvancedOptionsConfig in interface SecurityPolicyOrBuilderpublic SecurityPolicyAdvancedOptionsConfig getAdvancedOptionsConfig()
optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig advanced_options_config = 449276352;
getAdvancedOptionsConfig in interface SecurityPolicyOrBuilderpublic SecurityPolicyAdvancedOptionsConfigOrBuilder getAdvancedOptionsConfigOrBuilder()
optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig advanced_options_config = 449276352;
getAdvancedOptionsConfigOrBuilder in interface SecurityPolicyOrBuilderpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface SecurityPolicyOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface SecurityPolicyOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface SecurityPolicyOrBuilderpublic boolean hasDdosProtectionConfig()
optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853;
hasDdosProtectionConfig in interface SecurityPolicyOrBuilderpublic SecurityPolicyDdosProtectionConfig getDdosProtectionConfig()
optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853;
getDdosProtectionConfig in interface SecurityPolicyOrBuilderpublic SecurityPolicyDdosProtectionConfigOrBuilder getDdosProtectionConfigOrBuilder()
optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853;
getDdosProtectionConfigOrBuilder in interface SecurityPolicyOrBuilderpublic boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface SecurityPolicyOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface SecurityPolicyOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface SecurityPolicyOrBuilderpublic boolean hasFingerprint()
Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the security policy.
optional string fingerprint = 234678500;hasFingerprint in interface SecurityPolicyOrBuilderpublic String getFingerprint()
Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the security policy.
optional string fingerprint = 234678500;getFingerprint in interface SecurityPolicyOrBuilderpublic com.google.protobuf.ByteString getFingerprintBytes()
Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the security policy.
optional string fingerprint = 234678500;getFingerprintBytes in interface SecurityPolicyOrBuilderpublic boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface SecurityPolicyOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface SecurityPolicyOrBuilderpublic boolean hasKind()
[Output only] Type of the resource. Always compute#securityPolicyfor security policies
optional string kind = 3292052;hasKind in interface SecurityPolicyOrBuilderpublic String getKind()
[Output only] Type of the resource. Always compute#securityPolicyfor security policies
optional string kind = 3292052;getKind in interface SecurityPolicyOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output only] Type of the resource. Always compute#securityPolicyfor security policies
optional string kind = 3292052;getKindBytes in interface SecurityPolicyOrBuilderpublic boolean hasName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;hasName in interface SecurityPolicyOrBuilderpublic String getName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getName in interface SecurityPolicyOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getNameBytes in interface SecurityPolicyOrBuilderpublic boolean hasRecaptchaOptionsConfig()
optional .google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig recaptcha_options_config = 519006811;
hasRecaptchaOptionsConfig in interface SecurityPolicyOrBuilderpublic SecurityPolicyRecaptchaOptionsConfig getRecaptchaOptionsConfig()
optional .google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig recaptcha_options_config = 519006811;
getRecaptchaOptionsConfig in interface SecurityPolicyOrBuilderpublic SecurityPolicyRecaptchaOptionsConfigOrBuilder getRecaptchaOptionsConfigOrBuilder()
optional .google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig recaptcha_options_config = 519006811;
getRecaptchaOptionsConfigOrBuilder in interface SecurityPolicyOrBuilderpublic boolean hasRegion()
[Output Only] URL of the region where the regional security policy resides. This field is not applicable to global security policies.
optional string region = 138946292;hasRegion in interface SecurityPolicyOrBuilderpublic String getRegion()
[Output Only] URL of the region where the regional security policy resides. This field is not applicable to global security policies.
optional string region = 138946292;getRegion in interface SecurityPolicyOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
[Output Only] URL of the region where the regional security policy resides. This field is not applicable to global security policies.
optional string region = 138946292;getRegionBytes in interface SecurityPolicyOrBuilderpublic List<SecurityPolicyRule> getRulesList()
A list of rules that belong to this policy. There must always be a default rule which is a rule with priority 2147483647 and match all condition (for the match condition this means match "*" for srcIpRanges and for the networkMatch condition every field must be either match "*" or not set). If no rules are provided when creating a security policy, a default rule with action "allow" will be added.
repeated .google.cloud.compute.v1.SecurityPolicyRule rules = 108873975;getRulesList in interface SecurityPolicyOrBuilderpublic List<? extends SecurityPolicyRuleOrBuilder> getRulesOrBuilderList()
A list of rules that belong to this policy. There must always be a default rule which is a rule with priority 2147483647 and match all condition (for the match condition this means match "*" for srcIpRanges and for the networkMatch condition every field must be either match "*" or not set). If no rules are provided when creating a security policy, a default rule with action "allow" will be added.
repeated .google.cloud.compute.v1.SecurityPolicyRule rules = 108873975;getRulesOrBuilderList in interface SecurityPolicyOrBuilderpublic int getRulesCount()
A list of rules that belong to this policy. There must always be a default rule which is a rule with priority 2147483647 and match all condition (for the match condition this means match "*" for srcIpRanges and for the networkMatch condition every field must be either match "*" or not set). If no rules are provided when creating a security policy, a default rule with action "allow" will be added.
repeated .google.cloud.compute.v1.SecurityPolicyRule rules = 108873975;getRulesCount in interface SecurityPolicyOrBuilderpublic SecurityPolicyRule getRules(int index)
A list of rules that belong to this policy. There must always be a default rule which is a rule with priority 2147483647 and match all condition (for the match condition this means match "*" for srcIpRanges and for the networkMatch condition every field must be either match "*" or not set). If no rules are provided when creating a security policy, a default rule with action "allow" will be added.
repeated .google.cloud.compute.v1.SecurityPolicyRule rules = 108873975;getRules in interface SecurityPolicyOrBuilderpublic SecurityPolicyRuleOrBuilder getRulesOrBuilder(int index)
A list of rules that belong to this policy. There must always be a default rule which is a rule with priority 2147483647 and match all condition (for the match condition this means match "*" for srcIpRanges and for the networkMatch condition every field must be either match "*" or not set). If no rules are provided when creating a security policy, a default rule with action "allow" will be added.
repeated .google.cloud.compute.v1.SecurityPolicyRule rules = 108873975;getRulesOrBuilder in interface SecurityPolicyOrBuilderpublic boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface SecurityPolicyOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface SecurityPolicyOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface SecurityPolicyOrBuilderpublic boolean hasType()
The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time. Check the Type enum for the list of possible values.
optional string type = 3575610;hasType in interface SecurityPolicyOrBuilderpublic String getType()
The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time. Check the Type enum for the list of possible values.
optional string type = 3575610;getType in interface SecurityPolicyOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time. Check the Type enum for the list of possible values.
optional string type = 3575610;getTypeBytes in interface SecurityPolicyOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SecurityPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityPolicy parseFrom(InputStream input) throws IOException
IOExceptionpublic static SecurityPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SecurityPolicy parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SecurityPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SecurityPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SecurityPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SecurityPolicy.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SecurityPolicy.Builder newBuilder()
public static SecurityPolicy.Builder newBuilder(SecurityPolicy prototype)
public SecurityPolicy.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SecurityPolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SecurityPolicy getDefaultInstance()
public static com.google.protobuf.Parser<SecurityPolicy> parser()
public com.google.protobuf.Parser<SecurityPolicy> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SecurityPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.