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 String
getAction()
Possible values: ALLOW, DENYcom.google.protobuf.ByteString
getActionBytes()
Possible values: ALLOW, DENYString
getDirection()
Possible values: INGRESS, EGRESScom.google.protobuf.ByteString
getDirectionBytes()
Possible values: INGRESS, EGRESSString
getDisplayName()
The display name of the VPC firewall rule.com.google.protobuf.ByteString
getDisplayNameBytes()
The display name of the VPC firewall rule.FirewallInfo.FirewallRuleType
getFirewallRuleType()
The firewall rule's type.int
getFirewallRuleTypeValue()
The firewall rule's type.String
getNetworkUri()
The URI of the VPC network that the firewall rule is associated with.com.google.protobuf.ByteString
getNetworkUriBytes()
The URI of the VPC network that the firewall rule is associated with.String
getPolicy()
The hierarchical firewall policy that this rule is associated with.com.google.protobuf.ByteString
getPolicyBytes()
The hierarchical firewall policy that this rule is associated with.int
getPriority()
The priority of the firewall rule.String
getTargetServiceAccounts(int index)
The target service accounts specified by the firewall rule.com.google.protobuf.ByteString
getTargetServiceAccountsBytes(int index)
The target service accounts specified by the firewall rule.int
getTargetServiceAccountsCount()
The target service accounts specified by the firewall rule.List<String>
getTargetServiceAccountsList()
The target service accounts specified by the firewall rule.String
getTargetTags(int index)
The target tags defined by the VPC firewall rule.com.google.protobuf.ByteString
getTargetTagsBytes(int index)
The target tags defined by the VPC firewall rule.int
getTargetTagsCount()
The target tags defined by the VPC firewall rule.List<String>
getTargetTagsList()
The target tags defined by the VPC firewall rule.String
getUri()
The URI of the VPC firewall rule.com.google.protobuf.ByteString
getUriBytes()
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.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.
-
-