public static final class SecurityPolicy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicy.Builder> 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 | Method and Description |
|---|---|
SecurityPolicy.Builder |
addAllRules(Iterable<? extends SecurityPolicyRule> values)
A list of rules that belong to this policy.
|
SecurityPolicy.Builder |
addAllUserDefinedFields(Iterable<? extends SecurityPolicyUserDefinedField> values)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies.
|
SecurityPolicy.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SecurityPolicy.Builder |
addRules(int index,
SecurityPolicyRule.Builder builderForValue)
A list of rules that belong to this policy.
|
SecurityPolicy.Builder |
addRules(int index,
SecurityPolicyRule value)
A list of rules that belong to this policy.
|
SecurityPolicy.Builder |
addRules(SecurityPolicyRule.Builder builderForValue)
A list of rules that belong to this policy.
|
SecurityPolicy.Builder |
addRules(SecurityPolicyRule value)
A list of rules that belong to this policy.
|
SecurityPolicyRule.Builder |
addRulesBuilder()
A list of rules that belong to this policy.
|
SecurityPolicyRule.Builder |
addRulesBuilder(int index)
A list of rules that belong to this policy.
|
SecurityPolicy.Builder |
addUserDefinedFields(int index,
SecurityPolicyUserDefinedField.Builder builderForValue)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies.
|
SecurityPolicy.Builder |
addUserDefinedFields(int index,
SecurityPolicyUserDefinedField value)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies.
|
SecurityPolicy.Builder |
addUserDefinedFields(SecurityPolicyUserDefinedField.Builder builderForValue)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies.
|
SecurityPolicy.Builder |
addUserDefinedFields(SecurityPolicyUserDefinedField value)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies.
|
SecurityPolicyUserDefinedField.Builder |
addUserDefinedFieldsBuilder()
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies.
|
SecurityPolicyUserDefinedField.Builder |
addUserDefinedFieldsBuilder(int index)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies.
|
SecurityPolicy |
build() |
SecurityPolicy |
buildPartial() |
SecurityPolicy.Builder |
clear() |
SecurityPolicy.Builder |
clearAdaptiveProtectionConfig()
optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig adaptive_protection_config = 150240735;
|
SecurityPolicy.Builder |
clearAdvancedOptionsConfig()
optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig advanced_options_config = 449276352;
|
SecurityPolicy.Builder |
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
SecurityPolicy.Builder |
clearDdosProtectionConfig()
optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853;
|
SecurityPolicy.Builder |
clearDescription()
An optional description of this resource.
|
SecurityPolicy.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SecurityPolicy.Builder |
clearFingerprint()
Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking.
|
SecurityPolicy.Builder |
clearId()
[Output Only] The unique identifier for the resource.
|
SecurityPolicy.Builder |
clearKind()
[Output only] Type of the resource.
|
SecurityPolicy.Builder |
clearLabelFingerprint()
A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking.
|
SecurityPolicy.Builder |
clearLabels() |
SecurityPolicy.Builder |
clearName()
Name of the resource.
|
SecurityPolicy.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SecurityPolicy.Builder |
clearRecaptchaOptionsConfig()
optional .google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig recaptcha_options_config = 519006811;
|
SecurityPolicy.Builder |
clearRegion()
[Output Only] URL of the region where the regional security policy resides.
|
SecurityPolicy.Builder |
clearRules()
A list of rules that belong to this policy.
|
SecurityPolicy.Builder |
clearSelfLink()
[Output Only] Server-defined URL for the resource.
|
SecurityPolicy.Builder |
clearType()
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.
|
SecurityPolicy.Builder |
clearUserDefinedFields()
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies.
|
SecurityPolicy.Builder |
clone() |
boolean |
containsLabels(String key)
Labels for this resource.
|
SecurityPolicyAdaptiveProtectionConfig |
getAdaptiveProtectionConfig()
optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig adaptive_protection_config = 150240735;
|
SecurityPolicyAdaptiveProtectionConfig.Builder |
getAdaptiveProtectionConfigBuilder()
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;
|
SecurityPolicyAdvancedOptionsConfig.Builder |
getAdvancedOptionsConfigBuilder()
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;
|
SecurityPolicyDdosProtectionConfig.Builder |
getDdosProtectionConfigBuilder()
optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853;
|
SecurityPolicyDdosProtectionConfigOrBuilder |
getDdosProtectionConfigOrBuilder()
optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853;
|
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() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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 |
getLabelFingerprint()
A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking.
|
com.google.protobuf.ByteString |
getLabelFingerprintBytes()
A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels for this resource.
|
Map<String,String> |
getLabelsMap()
Labels for this resource.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels for this resource.
|
String |
getLabelsOrThrow(String key)
Labels for this resource.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the resource.
|
SecurityPolicyRecaptchaOptionsConfig |
getRecaptchaOptionsConfig()
optional .google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig recaptcha_options_config = 519006811;
|
SecurityPolicyRecaptchaOptionsConfig.Builder |
getRecaptchaOptionsConfigBuilder()
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.
|
SecurityPolicyRule.Builder |
getRulesBuilder(int index)
A list of rules that belong to this policy.
|
List<SecurityPolicyRule.Builder> |
getRulesBuilderList()
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.
|
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.
|
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.
|
SecurityPolicyUserDefinedField |
getUserDefinedFields(int index)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies.
|
SecurityPolicyUserDefinedField.Builder |
getUserDefinedFieldsBuilder(int index)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies.
|
List<SecurityPolicyUserDefinedField.Builder> |
getUserDefinedFieldsBuilderList()
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies.
|
int |
getUserDefinedFieldsCount()
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies.
|
List<SecurityPolicyUserDefinedField> |
getUserDefinedFieldsList()
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies.
|
SecurityPolicyUserDefinedFieldOrBuilder |
getUserDefinedFieldsOrBuilder(int index)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies.
|
List<? extends SecurityPolicyUserDefinedFieldOrBuilder> |
getUserDefinedFieldsOrBuilderList()
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies.
|
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.
|
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasKind()
[Output only] Type of the resource.
|
boolean |
hasLabelFingerprint()
A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking.
|
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. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
SecurityPolicy.Builder |
mergeAdaptiveProtectionConfig(SecurityPolicyAdaptiveProtectionConfig value)
optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig adaptive_protection_config = 150240735;
|
SecurityPolicy.Builder |
mergeAdvancedOptionsConfig(SecurityPolicyAdvancedOptionsConfig value)
optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig advanced_options_config = 449276352;
|
SecurityPolicy.Builder |
mergeDdosProtectionConfig(SecurityPolicyDdosProtectionConfig value)
optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853;
|
SecurityPolicy.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SecurityPolicy.Builder |
mergeFrom(com.google.protobuf.Message other) |
SecurityPolicy.Builder |
mergeFrom(SecurityPolicy other) |
SecurityPolicy.Builder |
mergeRecaptchaOptionsConfig(SecurityPolicyRecaptchaOptionsConfig value)
optional .google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig recaptcha_options_config = 519006811;
|
SecurityPolicy.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SecurityPolicy.Builder |
putAllLabels(Map<String,String> values)
Labels for this resource.
|
SecurityPolicy.Builder |
putLabels(String key,
String value)
Labels for this resource.
|
SecurityPolicy.Builder |
removeLabels(String key)
Labels for this resource.
|
SecurityPolicy.Builder |
removeRules(int index)
A list of rules that belong to this policy.
|
SecurityPolicy.Builder |
removeUserDefinedFields(int index)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies.
|
SecurityPolicy.Builder |
setAdaptiveProtectionConfig(SecurityPolicyAdaptiveProtectionConfig.Builder builderForValue)
optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig adaptive_protection_config = 150240735;
|
SecurityPolicy.Builder |
setAdaptiveProtectionConfig(SecurityPolicyAdaptiveProtectionConfig value)
optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig adaptive_protection_config = 150240735;
|
SecurityPolicy.Builder |
setAdvancedOptionsConfig(SecurityPolicyAdvancedOptionsConfig.Builder builderForValue)
optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig advanced_options_config = 449276352;
|
SecurityPolicy.Builder |
setAdvancedOptionsConfig(SecurityPolicyAdvancedOptionsConfig value)
optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig advanced_options_config = 449276352;
|
SecurityPolicy.Builder |
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
|
SecurityPolicy.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
|
SecurityPolicy.Builder |
setDdosProtectionConfig(SecurityPolicyDdosProtectionConfig.Builder builderForValue)
optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853;
|
SecurityPolicy.Builder |
setDdosProtectionConfig(SecurityPolicyDdosProtectionConfig value)
optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853;
|
SecurityPolicy.Builder |
setDescription(String value)
An optional description of this resource.
|
SecurityPolicy.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource.
|
SecurityPolicy.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SecurityPolicy.Builder |
setFingerprint(String value)
Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking.
|
SecurityPolicy.Builder |
setFingerprintBytes(com.google.protobuf.ByteString value)
Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking.
|
SecurityPolicy.Builder |
setId(long value)
[Output Only] The unique identifier for the resource.
|
SecurityPolicy.Builder |
setKind(String value)
[Output only] Type of the resource.
|
SecurityPolicy.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output only] Type of the resource.
|
SecurityPolicy.Builder |
setLabelFingerprint(String value)
A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking.
|
SecurityPolicy.Builder |
setLabelFingerprintBytes(com.google.protobuf.ByteString value)
A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking.
|
SecurityPolicy.Builder |
setName(String value)
Name of the resource.
|
SecurityPolicy.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the resource.
|
SecurityPolicy.Builder |
setRecaptchaOptionsConfig(SecurityPolicyRecaptchaOptionsConfig.Builder builderForValue)
optional .google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig recaptcha_options_config = 519006811;
|
SecurityPolicy.Builder |
setRecaptchaOptionsConfig(SecurityPolicyRecaptchaOptionsConfig value)
optional .google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig recaptcha_options_config = 519006811;
|
SecurityPolicy.Builder |
setRegion(String value)
[Output Only] URL of the region where the regional security policy resides.
|
SecurityPolicy.Builder |
setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the region where the regional security policy resides.
|
SecurityPolicy.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SecurityPolicy.Builder |
setRules(int index,
SecurityPolicyRule.Builder builderForValue)
A list of rules that belong to this policy.
|
SecurityPolicy.Builder |
setRules(int index,
SecurityPolicyRule value)
A list of rules that belong to this policy.
|
SecurityPolicy.Builder |
setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
|
SecurityPolicy.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
|
SecurityPolicy.Builder |
setType(String value)
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.
|
SecurityPolicy.Builder |
setTypeBytes(com.google.protobuf.ByteString value)
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.
|
SecurityPolicy.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SecurityPolicy.Builder |
setUserDefinedFields(int index,
SecurityPolicyUserDefinedField.Builder builderForValue)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies.
|
SecurityPolicy.Builder |
setUserDefinedFields(int index,
SecurityPolicyUserDefinedField value)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicy.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicy.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicy.Builder>public SecurityPolicy.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicy.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicy.Builder>public SecurityPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SecurityPolicy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SecurityPolicy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SecurityPolicy.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicy.Builder>public SecurityPolicy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicy.Builder>public SecurityPolicy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicy.Builder>public SecurityPolicy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicy.Builder>public SecurityPolicy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicy.Builder>public SecurityPolicy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicy.Builder>public SecurityPolicy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SecurityPolicy.Builder>public SecurityPolicy.Builder mergeFrom(SecurityPolicy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicy.Builder>public SecurityPolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SecurityPolicy.Builder>IOExceptionpublic 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 SecurityPolicy.Builder setAdaptiveProtectionConfig(SecurityPolicyAdaptiveProtectionConfig value)
optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig adaptive_protection_config = 150240735;
public SecurityPolicy.Builder setAdaptiveProtectionConfig(SecurityPolicyAdaptiveProtectionConfig.Builder builderForValue)
optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig adaptive_protection_config = 150240735;
public SecurityPolicy.Builder mergeAdaptiveProtectionConfig(SecurityPolicyAdaptiveProtectionConfig value)
optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig adaptive_protection_config = 150240735;
public SecurityPolicy.Builder clearAdaptiveProtectionConfig()
optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig adaptive_protection_config = 150240735;
public SecurityPolicyAdaptiveProtectionConfig.Builder getAdaptiveProtectionConfigBuilder()
optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig adaptive_protection_config = 150240735;
public 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 SecurityPolicy.Builder setAdvancedOptionsConfig(SecurityPolicyAdvancedOptionsConfig value)
optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig advanced_options_config = 449276352;
public SecurityPolicy.Builder setAdvancedOptionsConfig(SecurityPolicyAdvancedOptionsConfig.Builder builderForValue)
optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig advanced_options_config = 449276352;
public SecurityPolicy.Builder mergeAdvancedOptionsConfig(SecurityPolicyAdvancedOptionsConfig value)
optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig advanced_options_config = 449276352;
public SecurityPolicy.Builder clearAdvancedOptionsConfig()
optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig advanced_options_config = 449276352;
public SecurityPolicyAdvancedOptionsConfig.Builder getAdvancedOptionsConfigBuilder()
optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig advanced_options_config = 449276352;
public 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 SecurityPolicy.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public SecurityPolicy.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;public SecurityPolicy.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The bytes for creationTimestamp to set.public 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 SecurityPolicy.Builder setDdosProtectionConfig(SecurityPolicyDdosProtectionConfig value)
optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853;
public SecurityPolicy.Builder setDdosProtectionConfig(SecurityPolicyDdosProtectionConfig.Builder builderForValue)
optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853;
public SecurityPolicy.Builder mergeDdosProtectionConfig(SecurityPolicyDdosProtectionConfig value)
optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853;
public SecurityPolicy.Builder clearDdosProtectionConfig()
optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853;
public SecurityPolicyDdosProtectionConfig.Builder getDdosProtectionConfigBuilder()
optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853;
public 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 SecurityPolicy.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The description to set.public SecurityPolicy.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;public SecurityPolicy.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The bytes for description to set.public 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 SecurityPolicy.Builder setFingerprint(String value)
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;value - The fingerprint to set.public SecurityPolicy.Builder clearFingerprint()
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;public SecurityPolicy.Builder setFingerprintBytes(com.google.protobuf.ByteString value)
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;value - The bytes for fingerprint to set.public 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 SecurityPolicy.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;value - The id to set.public SecurityPolicy.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;public 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 SecurityPolicy.Builder setKind(String value)
[Output only] Type of the resource. Always compute#securityPolicyfor security policies
optional string kind = 3292052;value - The kind to set.public SecurityPolicy.Builder clearKind()
[Output only] Type of the resource. Always compute#securityPolicyfor security policies
optional string kind = 3292052;public SecurityPolicy.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output only] Type of the resource. Always compute#securityPolicyfor security policies
optional string kind = 3292052;value - The bytes for kind to set.public boolean hasLabelFingerprint()
A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the security policy.
optional string label_fingerprint = 178124825;hasLabelFingerprint in interface SecurityPolicyOrBuilderpublic String getLabelFingerprint()
A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the security policy.
optional string label_fingerprint = 178124825;getLabelFingerprint in interface SecurityPolicyOrBuilderpublic com.google.protobuf.ByteString getLabelFingerprintBytes()
A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the security policy.
optional string label_fingerprint = 178124825;getLabelFingerprintBytes in interface SecurityPolicyOrBuilderpublic SecurityPolicy.Builder setLabelFingerprint(String value)
A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the security policy.
optional string label_fingerprint = 178124825;value - The labelFingerprint to set.public SecurityPolicy.Builder clearLabelFingerprint()
A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the security policy.
optional string label_fingerprint = 178124825;public SecurityPolicy.Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value)
A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the security policy.
optional string label_fingerprint = 178124825;value - The bytes for labelFingerprint to set.public int getLabelsCount()
SecurityPolicyOrBuilderLabels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
map<string, string> labels = 500195327;getLabelsCount in interface SecurityPolicyOrBuilderpublic boolean containsLabels(String key)
Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
map<string, string> labels = 500195327;containsLabels in interface SecurityPolicyOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface SecurityPolicyOrBuilderpublic Map<String,String> getLabelsMap()
Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
map<string, string> labels = 500195327;getLabelsMap in interface SecurityPolicyOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
map<string, string> labels = 500195327;getLabelsOrDefault in interface SecurityPolicyOrBuilderpublic String getLabelsOrThrow(String key)
Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
map<string, string> labels = 500195327;getLabelsOrThrow in interface SecurityPolicyOrBuilderpublic SecurityPolicy.Builder clearLabels()
public SecurityPolicy.Builder removeLabels(String key)
Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
map<string, string> labels = 500195327;@Deprecated public Map<String,String> getMutableLabels()
public SecurityPolicy.Builder putLabels(String key, String value)
Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
map<string, string> labels = 500195327;public SecurityPolicy.Builder putAllLabels(Map<String,String> values)
Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
map<string, string> labels = 500195327;public 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 SecurityPolicy.Builder setName(String value)
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;value - The name to set.public SecurityPolicy.Builder clearName()
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;public SecurityPolicy.Builder setNameBytes(com.google.protobuf.ByteString value)
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;value - The bytes for name to set.public 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 SecurityPolicy.Builder setRecaptchaOptionsConfig(SecurityPolicyRecaptchaOptionsConfig value)
optional .google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig recaptcha_options_config = 519006811;
public SecurityPolicy.Builder setRecaptchaOptionsConfig(SecurityPolicyRecaptchaOptionsConfig.Builder builderForValue)
optional .google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig recaptcha_options_config = 519006811;
public SecurityPolicy.Builder mergeRecaptchaOptionsConfig(SecurityPolicyRecaptchaOptionsConfig value)
optional .google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig recaptcha_options_config = 519006811;
public SecurityPolicy.Builder clearRecaptchaOptionsConfig()
optional .google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig recaptcha_options_config = 519006811;
public SecurityPolicyRecaptchaOptionsConfig.Builder getRecaptchaOptionsConfigBuilder()
optional .google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig recaptcha_options_config = 519006811;
public 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 SecurityPolicy.Builder setRegion(String value)
[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;value - The region to set.public SecurityPolicy.Builder clearRegion()
[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;public SecurityPolicy.Builder setRegionBytes(com.google.protobuf.ByteString value)
[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;value - The bytes for region to set.public 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 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 SecurityPolicy.Builder setRules(int index, SecurityPolicyRule value)
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;public SecurityPolicy.Builder setRules(int index, SecurityPolicyRule.Builder builderForValue)
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;public SecurityPolicy.Builder addRules(SecurityPolicyRule value)
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;public SecurityPolicy.Builder addRules(int index, SecurityPolicyRule value)
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;public SecurityPolicy.Builder addRules(SecurityPolicyRule.Builder builderForValue)
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;public SecurityPolicy.Builder addRules(int index, SecurityPolicyRule.Builder builderForValue)
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;public SecurityPolicy.Builder addAllRules(Iterable<? extends SecurityPolicyRule> values)
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;public SecurityPolicy.Builder clearRules()
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;public SecurityPolicy.Builder removeRules(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;public SecurityPolicyRule.Builder getRulesBuilder(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;public 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 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 SecurityPolicyRule.Builder addRulesBuilder()
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;public SecurityPolicyRule.Builder addRulesBuilder(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;public List<SecurityPolicyRule.Builder> getRulesBuilderList()
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;public 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 SecurityPolicy.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The selfLink to set.public SecurityPolicy.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;public SecurityPolicy.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.public 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. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. 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. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. 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. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. 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 SecurityPolicy.Builder setType(String value)
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. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. 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;value - The type to set.public SecurityPolicy.Builder clearType()
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. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. 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;public SecurityPolicy.Builder setTypeBytes(com.google.protobuf.ByteString value)
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. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. 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;value - The bytes for type to set.public List<SecurityPolicyUserDefinedField> getUserDefinedFieldsList()
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
repeated .google.cloud.compute.v1.SecurityPolicyUserDefinedField user_defined_fields = 28312739;
getUserDefinedFieldsList in interface SecurityPolicyOrBuilderpublic int getUserDefinedFieldsCount()
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
repeated .google.cloud.compute.v1.SecurityPolicyUserDefinedField user_defined_fields = 28312739;
getUserDefinedFieldsCount in interface SecurityPolicyOrBuilderpublic SecurityPolicyUserDefinedField getUserDefinedFields(int index)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
repeated .google.cloud.compute.v1.SecurityPolicyUserDefinedField user_defined_fields = 28312739;
getUserDefinedFields in interface SecurityPolicyOrBuilderpublic SecurityPolicy.Builder setUserDefinedFields(int index, SecurityPolicyUserDefinedField value)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
repeated .google.cloud.compute.v1.SecurityPolicyUserDefinedField user_defined_fields = 28312739;
public SecurityPolicy.Builder setUserDefinedFields(int index, SecurityPolicyUserDefinedField.Builder builderForValue)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
repeated .google.cloud.compute.v1.SecurityPolicyUserDefinedField user_defined_fields = 28312739;
public SecurityPolicy.Builder addUserDefinedFields(SecurityPolicyUserDefinedField value)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
repeated .google.cloud.compute.v1.SecurityPolicyUserDefinedField user_defined_fields = 28312739;
public SecurityPolicy.Builder addUserDefinedFields(int index, SecurityPolicyUserDefinedField value)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
repeated .google.cloud.compute.v1.SecurityPolicyUserDefinedField user_defined_fields = 28312739;
public SecurityPolicy.Builder addUserDefinedFields(SecurityPolicyUserDefinedField.Builder builderForValue)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
repeated .google.cloud.compute.v1.SecurityPolicyUserDefinedField user_defined_fields = 28312739;
public SecurityPolicy.Builder addUserDefinedFields(int index, SecurityPolicyUserDefinedField.Builder builderForValue)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
repeated .google.cloud.compute.v1.SecurityPolicyUserDefinedField user_defined_fields = 28312739;
public SecurityPolicy.Builder addAllUserDefinedFields(Iterable<? extends SecurityPolicyUserDefinedField> values)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
repeated .google.cloud.compute.v1.SecurityPolicyUserDefinedField user_defined_fields = 28312739;
public SecurityPolicy.Builder clearUserDefinedFields()
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
repeated .google.cloud.compute.v1.SecurityPolicyUserDefinedField user_defined_fields = 28312739;
public SecurityPolicy.Builder removeUserDefinedFields(int index)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
repeated .google.cloud.compute.v1.SecurityPolicyUserDefinedField user_defined_fields = 28312739;
public SecurityPolicyUserDefinedField.Builder getUserDefinedFieldsBuilder(int index)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
repeated .google.cloud.compute.v1.SecurityPolicyUserDefinedField user_defined_fields = 28312739;
public SecurityPolicyUserDefinedFieldOrBuilder getUserDefinedFieldsOrBuilder(int index)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
repeated .google.cloud.compute.v1.SecurityPolicyUserDefinedField user_defined_fields = 28312739;
getUserDefinedFieldsOrBuilder in interface SecurityPolicyOrBuilderpublic List<? extends SecurityPolicyUserDefinedFieldOrBuilder> getUserDefinedFieldsOrBuilderList()
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
repeated .google.cloud.compute.v1.SecurityPolicyUserDefinedField user_defined_fields = 28312739;
getUserDefinedFieldsOrBuilderList in interface SecurityPolicyOrBuilderpublic SecurityPolicyUserDefinedField.Builder addUserDefinedFieldsBuilder()
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
repeated .google.cloud.compute.v1.SecurityPolicyUserDefinedField user_defined_fields = 28312739;
public SecurityPolicyUserDefinedField.Builder addUserDefinedFieldsBuilder(int index)
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
repeated .google.cloud.compute.v1.SecurityPolicyUserDefinedField user_defined_fields = 28312739;
public List<SecurityPolicyUserDefinedField.Builder> getUserDefinedFieldsBuilderList()
Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff"
repeated .google.cloud.compute.v1.SecurityPolicyUserDefinedField user_defined_fields = 28312739;
public final SecurityPolicy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicy.Builder>public final SecurityPolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicy.Builder>Copyright © 2025 Google LLC. All rights reserved.