Interface FirewallInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FirewallInfo,FirewallInfo.Builder
public interface FirewallInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAction()Possible values: ALLOW, DENYcom.google.protobuf.ByteStringgetActionBytes()Possible values: ALLOW, DENYStringgetDirection()Possible values: INGRESS, EGRESScom.google.protobuf.ByteStringgetDirectionBytes()Possible values: INGRESS, EGRESSStringgetDisplayName()The display name of the VPC firewall rule.com.google.protobuf.ByteStringgetDisplayNameBytes()The display name of the VPC firewall rule.FirewallInfo.FirewallRuleTypegetFirewallRuleType()The firewall rule's type.intgetFirewallRuleTypeValue()The firewall rule's type.StringgetNetworkUri()The URI of the VPC network that the firewall rule is associated with.com.google.protobuf.ByteStringgetNetworkUriBytes()The URI of the VPC network that the firewall rule is associated with.StringgetPolicy()The hierarchical firewall policy that this rule is associated with.com.google.protobuf.ByteStringgetPolicyBytes()The hierarchical firewall policy that this rule is associated with.intgetPriority()The priority of the firewall rule.StringgetTargetServiceAccounts(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.intgetTargetServiceAccountsCount()The target service accounts specified by the firewall rule.List<String>getTargetServiceAccountsList()The target service accounts specified by the firewall rule.StringgetTargetTags(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.intgetTargetTagsCount()The target tags defined by the VPC firewall rule.List<String>getTargetTagsList()The target tags defined by the VPC firewall rule.StringgetUri()The URI of the VPC firewall rule.com.google.protobuf.ByteStringgetUriBytes()The URI of the VPC firewall rule.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDisplayName
String getDisplayName()
The display name of the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
string display_name = 1;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
The display name of the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
string display_name = 1;- Returns:
- The bytes for displayName.
-
getUri
String getUri()
The URI of the VPC firewall rule. This field is not applicable to implied firewall rules or hierarchical firewall policy rules.
string uri = 2;- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()
The URI of the VPC firewall rule. This field is not applicable to implied firewall rules or hierarchical firewall policy 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
string action = 4;- Returns:
- The action.
-
getActionBytes
com.google.protobuf.ByteString getActionBytes()
Possible values: ALLOW, DENY
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 hierarchical 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 hierarchical 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 hierarchical 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 hierarchical 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 hierarchical firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules.
string policy = 9;- Returns:
- The policy.
-
getPolicyBytes
com.google.protobuf.ByteString getPolicyBytes()
The hierarchical firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules.
string policy = 9;- Returns:
- The bytes for policy.
-
getFirewallRuleTypeValue
int getFirewallRuleTypeValue()
The firewall rule's type.
.google.cloud.networkmanagement.v1.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.v1.FirewallInfo.FirewallRuleType firewall_rule_type = 10;- Returns:
- The firewallRuleType.
-
-