Class FirewallInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FirewallInfo.Builder>
com.google.cloud.networkmanagement.v1beta1.FirewallInfo.Builder
- All Implemented Interfaces:
FirewallInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FirewallInfo
public static final class FirewallInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FirewallInfo.Builder>
implements FirewallInfoOrBuilder
For display only. Metadata associated with a VPC firewall rule, an implied VPC firewall rule, or a firewall policy rule.Protobuf type
google.cloud.networkmanagement.v1beta1.FirewallInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllTargetServiceAccounts(Iterable<String> values) The target service accounts specified by the firewall rule.addAllTargetTags(Iterable<String> values) The target tags defined by the VPC firewall rule.addTargetServiceAccounts(String value) The target service accounts specified by the firewall rule.addTargetServiceAccountsBytes(com.google.protobuf.ByteString value) The target service accounts specified by the firewall rule.addTargetTags(String value) The target tags defined by the VPC firewall rule.addTargetTagsBytes(com.google.protobuf.ByteString value) The target tags defined by the VPC firewall rule.build()clear()Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUPPossible values: INGRESS, EGRESSThe display name of the firewall rule.The firewall rule's type.The URI of the VPC network that the firewall rule is associated with.The name of the firewall policy that this rule is associated with.The priority of the firewall policy that this rule is associated with.The URI of the firewall policy that this rule is associated with.The priority of the firewall rule.The target service accounts specified by the firewall rule.The target tags defined by the VPC firewall rule.Target type of the firewall rule.clearUri()The URI of the firewall rule.Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUPcom.google.protobuf.ByteStringPossible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUPstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorPossible values: INGRESS, EGRESScom.google.protobuf.ByteStringPossible values: INGRESS, EGRESSThe display name of the firewall rule.com.google.protobuf.ByteStringThe display name of the firewall rule.The firewall rule's type.intThe firewall rule's type.The URI of the VPC network that the firewall rule is associated with.com.google.protobuf.ByteStringThe URI of the VPC network that the firewall rule is associated with.The name of the firewall policy that this rule is associated with.com.google.protobuf.ByteStringThe name of the firewall policy that this rule is associated with.intThe priority of the firewall policy that this rule is associated with.The URI of the firewall policy that this rule is associated with.com.google.protobuf.ByteStringThe URI of the firewall policy that this rule is associated with.intThe priority of the firewall rule.getTargetServiceAccounts(int index) The target service accounts specified by the firewall rule.com.google.protobuf.ByteStringgetTargetServiceAccountsBytes(int index) The target service accounts specified by the firewall rule.intThe target service accounts specified by the firewall rule.com.google.protobuf.ProtocolStringListThe target service accounts specified by the firewall rule.getTargetTags(int index) The target tags defined by the VPC firewall rule.com.google.protobuf.ByteStringgetTargetTagsBytes(int index) The target tags defined by the VPC firewall rule.intThe target tags defined by the VPC firewall rule.com.google.protobuf.ProtocolStringListThe target tags defined by the VPC firewall rule.Target type of the firewall rule.intTarget type of the firewall rule.getUri()The URI of the firewall rule.com.google.protobuf.ByteStringThe URI of the firewall rule.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(FirewallInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUPsetActionBytes(com.google.protobuf.ByteString value) Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUPsetDirection(String value) Possible values: INGRESS, EGRESSsetDirectionBytes(com.google.protobuf.ByteString value) Possible values: INGRESS, EGRESSsetDisplayName(String value) The display name of the firewall rule.setDisplayNameBytes(com.google.protobuf.ByteString value) The display name of the firewall rule.The firewall rule's type.setFirewallRuleTypeValue(int value) The firewall rule's type.setNetworkUri(String value) The URI of the VPC network that the firewall rule is associated with.setNetworkUriBytes(com.google.protobuf.ByteString value) The URI of the VPC network that the firewall rule is associated with.The name of the firewall policy that this rule is associated with.setPolicyBytes(com.google.protobuf.ByteString value) The name of the firewall policy that this rule is associated with.setPolicyPriority(int value) The priority of the firewall policy that this rule is associated with.setPolicyUri(String value) The URI of the firewall policy that this rule is associated with.setPolicyUriBytes(com.google.protobuf.ByteString value) The URI of the firewall policy that this rule is associated with.setPriority(int value) The priority of the firewall rule.setTargetServiceAccounts(int index, String value) The target service accounts specified by the firewall rule.setTargetTags(int index, String value) The target tags defined by the VPC firewall rule.Target type of the firewall rule.setTargetTypeValue(int value) Target type of the firewall rule.The URI of the firewall rule.setUriBytes(com.google.protobuf.ByteString value) The URI of the firewall rule.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<FirewallInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<FirewallInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<FirewallInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FirewallInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FirewallInfo.Builder>
-
mergeFrom
public FirewallInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FirewallInfo.Builder>- Throws:
IOException
-
getDisplayName
The display name of the firewall rule. This field might be empty for firewall policy rules.
string display_name = 1;- Specified by:
getDisplayNamein interfaceFirewallInfoOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()The display name of the firewall rule. This field might be empty for firewall policy rules.
string display_name = 1;- Specified by:
getDisplayNameBytesin interfaceFirewallInfoOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
The display name of the firewall rule. This field might be empty for firewall policy rules.
string display_name = 1;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
The display name of the firewall rule. This field might be empty for firewall policy rules.
string display_name = 1;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
The display name of the firewall rule. This field might be empty for firewall policy rules.
string display_name = 1;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getUri
The URI of the firewall rule. This field is not applicable to implied VPC firewall rules.
string uri = 2;- Specified by:
getUriin interfaceFirewallInfoOrBuilder- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()The URI of the firewall rule. This field is not applicable to implied VPC firewall rules.
string uri = 2;- Specified by:
getUriBytesin interfaceFirewallInfoOrBuilder- Returns:
- The bytes for uri.
-
setUri
The URI of the firewall rule. This field is not applicable to implied VPC firewall rules.
string uri = 2;- Parameters:
value- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
The URI of the firewall rule. This field is not applicable to implied VPC firewall rules.
string uri = 2;- Returns:
- This builder for chaining.
-
setUriBytes
The URI of the firewall rule. This field is not applicable to implied VPC firewall rules.
string uri = 2;- Parameters:
value- The bytes for uri to set.- Returns:
- This builder for chaining.
-
getDirection
Possible values: INGRESS, EGRESS
string direction = 3;- Specified by:
getDirectionin interfaceFirewallInfoOrBuilder- Returns:
- The direction.
-
getDirectionBytes
public com.google.protobuf.ByteString getDirectionBytes()Possible values: INGRESS, EGRESS
string direction = 3;- Specified by:
getDirectionBytesin interfaceFirewallInfoOrBuilder- Returns:
- The bytes for direction.
-
setDirection
Possible values: INGRESS, EGRESS
string direction = 3;- Parameters:
value- The direction to set.- Returns:
- This builder for chaining.
-
clearDirection
Possible values: INGRESS, EGRESS
string direction = 3;- Returns:
- This builder for chaining.
-
setDirectionBytes
Possible values: INGRESS, EGRESS
string direction = 3;- Parameters:
value- The bytes for direction to set.- Returns:
- This builder for chaining.
-
getAction
Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP
string action = 4;- Specified by:
getActionin interfaceFirewallInfoOrBuilder- Returns:
- The action.
-
getActionBytes
public com.google.protobuf.ByteString getActionBytes()Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP
string action = 4;- Specified by:
getActionBytesin interfaceFirewallInfoOrBuilder- Returns:
- The bytes for action.
-
setAction
Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP
string action = 4;- Parameters:
value- The action to set.- Returns:
- This builder for chaining.
-
clearAction
Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP
string action = 4;- Returns:
- This builder for chaining.
-
setActionBytes
Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP
string action = 4;- Parameters:
value- The bytes for action to set.- Returns:
- This builder for chaining.
-
getPriority
public int getPriority()The priority of the firewall rule.
int32 priority = 5;- Specified by:
getPriorityin interfaceFirewallInfoOrBuilder- Returns:
- The priority.
-
setPriority
The priority of the firewall rule.
int32 priority = 5;- Parameters:
value- The priority to set.- Returns:
- This builder for chaining.
-
clearPriority
The priority of the firewall rule.
int32 priority = 5;- Returns:
- This builder for chaining.
-
getNetworkUri
The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules.
string network_uri = 6;- Specified by:
getNetworkUriin interfaceFirewallInfoOrBuilder- Returns:
- The networkUri.
-
getNetworkUriBytes
public com.google.protobuf.ByteString getNetworkUriBytes()The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules.
string network_uri = 6;- Specified by:
getNetworkUriBytesin interfaceFirewallInfoOrBuilder- Returns:
- The bytes for networkUri.
-
setNetworkUri
The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules.
string network_uri = 6;- Parameters:
value- The networkUri to set.- Returns:
- This builder for chaining.
-
clearNetworkUri
The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules.
string network_uri = 6;- Returns:
- This builder for chaining.
-
setNetworkUriBytes
The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules.
string network_uri = 6;- Parameters:
value- The bytes for networkUri to set.- Returns:
- This builder for chaining.
-
getTargetTagsList
public com.google.protobuf.ProtocolStringList getTargetTagsList()The target tags defined by the VPC firewall rule. This field is not applicable to firewall policy rules.
repeated string target_tags = 7;- Specified by:
getTargetTagsListin interfaceFirewallInfoOrBuilder- Returns:
- A list containing the targetTags.
-
getTargetTagsCount
public int getTargetTagsCount()The target tags defined by the VPC firewall rule. This field is not applicable to firewall policy rules.
repeated string target_tags = 7;- Specified by:
getTargetTagsCountin interfaceFirewallInfoOrBuilder- Returns:
- The count of targetTags.
-
getTargetTags
The target tags defined by the VPC firewall rule. This field is not applicable to firewall policy rules.
repeated string target_tags = 7;- Specified by:
getTargetTagsin interfaceFirewallInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The targetTags at the given index.
-
getTargetTagsBytes
public com.google.protobuf.ByteString getTargetTagsBytes(int index) The target tags defined by the VPC firewall rule. This field is not applicable to firewall policy rules.
repeated string target_tags = 7;- Specified by:
getTargetTagsBytesin interfaceFirewallInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the targetTags at the given index.
-
setTargetTags
The target tags defined by the VPC firewall rule. This field is not applicable to firewall policy rules.
repeated string target_tags = 7;- Parameters:
index- The index to set the value at.value- The targetTags to set.- Returns:
- This builder for chaining.
-
addTargetTags
The target tags defined by the VPC firewall rule. This field is not applicable to firewall policy rules.
repeated string target_tags = 7;- Parameters:
value- The targetTags to add.- Returns:
- This builder for chaining.
-
addAllTargetTags
The target tags defined by the VPC firewall rule. This field is not applicable to firewall policy rules.
repeated string target_tags = 7;- Parameters:
values- The targetTags to add.- Returns:
- This builder for chaining.
-
clearTargetTags
The target tags defined by the VPC firewall rule. This field is not applicable to firewall policy rules.
repeated string target_tags = 7;- Returns:
- This builder for chaining.
-
addTargetTagsBytes
The target tags defined by the VPC firewall rule. This field is not applicable to firewall policy rules.
repeated string target_tags = 7;- Parameters:
value- The bytes of the targetTags to add.- Returns:
- This builder for chaining.
-
getTargetServiceAccountsList
public com.google.protobuf.ProtocolStringList getTargetServiceAccountsList()The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;- Specified by:
getTargetServiceAccountsListin interfaceFirewallInfoOrBuilder- Returns:
- A list containing the targetServiceAccounts.
-
getTargetServiceAccountsCount
public int getTargetServiceAccountsCount()The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;- Specified by:
getTargetServiceAccountsCountin interfaceFirewallInfoOrBuilder- Returns:
- The count of targetServiceAccounts.
-
getTargetServiceAccounts
The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;- Specified by:
getTargetServiceAccountsin interfaceFirewallInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The targetServiceAccounts at the given index.
-
getTargetServiceAccountsBytes
public com.google.protobuf.ByteString getTargetServiceAccountsBytes(int index) The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;- Specified by:
getTargetServiceAccountsBytesin interfaceFirewallInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the targetServiceAccounts at the given index.
-
setTargetServiceAccounts
The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;- Parameters:
index- The index to set the value at.value- The targetServiceAccounts to set.- Returns:
- This builder for chaining.
-
addTargetServiceAccounts
The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;- Parameters:
value- The targetServiceAccounts to add.- Returns:
- This builder for chaining.
-
addAllTargetServiceAccounts
The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;- Parameters:
values- The targetServiceAccounts to add.- Returns:
- This builder for chaining.
-
clearTargetServiceAccounts
The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;- Returns:
- This builder for chaining.
-
addTargetServiceAccountsBytes
The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;- Parameters:
value- The bytes of the targetServiceAccounts to add.- Returns:
- This builder for chaining.
-
getPolicy
The name of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.
string policy = 9;- Specified by:
getPolicyin interfaceFirewallInfoOrBuilder- Returns:
- The policy.
-
getPolicyBytes
public com.google.protobuf.ByteString getPolicyBytes()The name of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.
string policy = 9;- Specified by:
getPolicyBytesin interfaceFirewallInfoOrBuilder- Returns:
- The bytes for policy.
-
setPolicy
The name of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.
string policy = 9;- Parameters:
value- The policy to set.- Returns:
- This builder for chaining.
-
clearPolicy
The name of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.
string policy = 9;- Returns:
- This builder for chaining.
-
setPolicyBytes
The name of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.
string policy = 9;- Parameters:
value- The bytes for policy to set.- Returns:
- This builder for chaining.
-
getPolicyUri
The URI of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.
string policy_uri = 11;- Specified by:
getPolicyUriin interfaceFirewallInfoOrBuilder- Returns:
- The policyUri.
-
getPolicyUriBytes
public com.google.protobuf.ByteString getPolicyUriBytes()The URI of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.
string policy_uri = 11;- Specified by:
getPolicyUriBytesin interfaceFirewallInfoOrBuilder- Returns:
- The bytes for policyUri.
-
setPolicyUri
The URI of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.
string policy_uri = 11;- Parameters:
value- The policyUri to set.- Returns:
- This builder for chaining.
-
clearPolicyUri
The URI of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.
string policy_uri = 11;- Returns:
- This builder for chaining.
-
setPolicyUriBytes
The URI of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.
string policy_uri = 11;- Parameters:
value- The bytes for policyUri to set.- Returns:
- This builder for chaining.
-
getFirewallRuleTypeValue
public int getFirewallRuleTypeValue()The firewall rule's type.
.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10;- Specified by:
getFirewallRuleTypeValuein interfaceFirewallInfoOrBuilder- Returns:
- The enum numeric value on the wire for firewallRuleType.
-
setFirewallRuleTypeValue
The firewall rule's type.
.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10;- Parameters:
value- The enum numeric value on the wire for firewallRuleType to set.- Returns:
- This builder for chaining.
-
getFirewallRuleType
The firewall rule's type.
.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10;- Specified by:
getFirewallRuleTypein interfaceFirewallInfoOrBuilder- Returns:
- The firewallRuleType.
-
setFirewallRuleType
The firewall rule's type.
.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10;- Parameters:
value- The firewallRuleType to set.- Returns:
- This builder for chaining.
-
clearFirewallRuleType
The firewall rule's type.
.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10;- Returns:
- This builder for chaining.
-
getPolicyPriority
public int getPolicyPriority()The priority of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.
int32 policy_priority = 12;- Specified by:
getPolicyPriorityin interfaceFirewallInfoOrBuilder- Returns:
- The policyPriority.
-
setPolicyPriority
The priority of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.
int32 policy_priority = 12;- Parameters:
value- The policyPriority to set.- Returns:
- This builder for chaining.
-
clearPolicyPriority
The priority of the firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules and implied VPC firewall rules.
int32 policy_priority = 12;- Returns:
- This builder for chaining.
-
getTargetTypeValue
public int getTargetTypeValue()Target type of the firewall rule.
.google.cloud.networkmanagement.v1beta1.FirewallInfo.TargetType target_type = 13;- Specified by:
getTargetTypeValuein interfaceFirewallInfoOrBuilder- Returns:
- The enum numeric value on the wire for targetType.
-
setTargetTypeValue
Target type of the firewall rule.
.google.cloud.networkmanagement.v1beta1.FirewallInfo.TargetType target_type = 13;- Parameters:
value- The enum numeric value on the wire for targetType to set.- Returns:
- This builder for chaining.
-
getTargetType
Target type of the firewall rule.
.google.cloud.networkmanagement.v1beta1.FirewallInfo.TargetType target_type = 13;- Specified by:
getTargetTypein interfaceFirewallInfoOrBuilder- Returns:
- The targetType.
-
setTargetType
Target type of the firewall rule.
.google.cloud.networkmanagement.v1beta1.FirewallInfo.TargetType target_type = 13;- Parameters:
value- The targetType to set.- Returns:
- This builder for chaining.
-
clearTargetType
Target type of the firewall rule.
.google.cloud.networkmanagement.v1beta1.FirewallInfo.TargetType target_type = 13;- Returns:
- This builder for chaining.
-