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 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

      List<String> 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

      String getTargetTags(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 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

      List<String> 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

      String getTargetServiceAccounts(int index)
       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.