Interface FirewallInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FirewallInfo,FirewallInfo.Builder
@Generated
public interface FirewallInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionPossible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUPcom.google.protobuf.ByteStringPossible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUPPossible 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.The 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.The 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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDisplayName
String getDisplayName()The display name of the firewall rule. This field might be empty for firewall policy rules.
string display_name = 1;- Returns:
- The displayName.
-
getDisplayNameBytes
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;- Returns:
- The bytes for displayName.
-
getUri
String getUri()The URI of the firewall rule. This field is not applicable to implied VPC firewall rules.
string uri = 2;- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()The URI of the firewall rule. This field is not applicable to implied VPC firewall rules.
string uri = 2;- Returns:
- The bytes for uri.
-
getDirection
String getDirection()Possible values: INGRESS, EGRESS
string direction = 3;- Returns:
- The direction.
-
getDirectionBytes
com.google.protobuf.ByteString getDirectionBytes()Possible values: INGRESS, EGRESS
string direction = 3;- Returns:
- The bytes for direction.
-
getAction
String getAction()Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP
string action = 4;- Returns:
- The action.
-
getActionBytes
com.google.protobuf.ByteString getActionBytes()Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP
string action = 4;- Returns:
- The bytes for action.
-
getPriority
int getPriority()The priority of the firewall rule.
int32 priority = 5;- Returns:
- The priority.
-
getNetworkUri
String 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;- Returns:
- The networkUri.
-
getNetworkUriBytes
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;- Returns:
- The bytes for networkUri.
-
getTargetTagsList
The target tags defined by the VPC firewall rule. This field is not applicable to firewall policy rules.
repeated string target_tags = 7;- Returns:
- A list containing the targetTags.
-
getTargetTagsCount
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;- 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;- Parameters:
index- The index of the element to return.- Returns:
- The targetTags at the given index.
-
getTargetTagsBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the targetTags at the given index.
-
getTargetServiceAccountsList
The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;- Returns:
- A list containing the targetServiceAccounts.
-
getTargetServiceAccountsCount
int getTargetServiceAccountsCount()The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;- Returns:
- The count of targetServiceAccounts.
-
getTargetServiceAccounts
The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;- Parameters:
index- The index of the element to return.- Returns:
- The targetServiceAccounts at the given index.
-
getTargetServiceAccountsBytes
com.google.protobuf.ByteString getTargetServiceAccountsBytes(int index) The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the targetServiceAccounts at the given index.
-
getPolicy
String 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;- Returns:
- The policy.
-
getPolicyBytes
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;- Returns:
- The bytes for policy.
-
getPolicyUri
String 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;- Returns:
- The policyUri.
-
getPolicyUriBytes
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;- Returns:
- The bytes for policyUri.
-
getFirewallRuleTypeValue
int getFirewallRuleTypeValue()The firewall rule's type.
.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10;- Returns:
- The enum numeric value on the wire for firewallRuleType.
-
getFirewallRuleType
FirewallInfo.FirewallRuleType getFirewallRuleType()The firewall rule's type.
.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10;- Returns:
- The firewallRuleType.
-
getPolicyPriority
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;- Returns:
- The policyPriority.
-
getTargetTypeValue
int getTargetTypeValue()Target type of the firewall rule.
.google.cloud.networkmanagement.v1beta1.FirewallInfo.TargetType target_type = 13;- Returns:
- The enum numeric value on the wire for targetType.
-
getTargetType
FirewallInfo.TargetType getTargetType()Target type of the firewall rule.
.google.cloud.networkmanagement.v1beta1.FirewallInfo.TargetType target_type = 13;- Returns:
- The targetType.
-