Interface ExternalAccessRuleOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ExternalAccessRule, ExternalAccessRule.Builder

@Generated public interface ExternalAccessRuleOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Output only. The resource name of this external access rule.
       Resource names are schemeless URIs that follow the conventions in
       https://cloud.google.com/apis/design/resource_names.
       For example:
       `projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Output only. The resource name of this external access rule.
       Resource names are schemeless URIs that follow the conventions in
       https://cloud.google.com/apis/design/resource_names.
       For example:
       `projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for name.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. Creation time of this resource.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. Creation time of this resource.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Creation time of this resource.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. Last update time of this resource.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. Last update time of this resource.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Last update time of this resource.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDescription

      String getDescription()
       User-provided description for this external access rule.
       
      string description = 5;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       User-provided description for this external access rule.
       
      string description = 5;
      Returns:
      The bytes for description.
    • getPriority

      int getPriority()
       External access rule priority, which determines the external access rule to
       use when multiple rules apply. If multiple rules have the same priority,
       their ordering is non-deterministic. If specific ordering is required,
       assign unique priorities to enforce such ordering. The external access rule
       priority is an integer from 100 to 4096, both inclusive. Lower integers
       indicate higher precedence. For example, a rule with priority `100` has
       higher precedence than a rule with priority `101`.
       
      int32 priority = 6;
      Returns:
      The priority.
    • getActionValue

      int getActionValue()
       The action that the external access rule performs.
       
      .google.cloud.vmwareengine.v1.ExternalAccessRule.Action action = 7;
      Returns:
      The enum numeric value on the wire for action.
    • getAction

       The action that the external access rule performs.
       
      .google.cloud.vmwareengine.v1.ExternalAccessRule.Action action = 7;
      Returns:
      The action.
    • getIpProtocol

      String getIpProtocol()
       The IP protocol to which the external access rule applies. This value can
       be one of the following three protocol strings (not case-sensitive):
       `tcp`, `udp`, or `icmp`.
       
      string ip_protocol = 8;
      Returns:
      The ipProtocol.
    • getIpProtocolBytes

      com.google.protobuf.ByteString getIpProtocolBytes()
       The IP protocol to which the external access rule applies. This value can
       be one of the following three protocol strings (not case-sensitive):
       `tcp`, `udp`, or `icmp`.
       
      string ip_protocol = 8;
      Returns:
      The bytes for ipProtocol.
    • getSourceIpRangesList

      List<ExternalAccessRule.IpRange> getSourceIpRangesList()
       If source ranges are specified, the external access rule applies only to
       traffic that has a source IP address in these ranges. These ranges can
       either be expressed in the CIDR format or as an IP address. As only inbound
       rules are supported, `ExternalAddress` resources cannot be the source IP
       addresses of an external access rule. To match all source addresses,
       specify `0.0.0.0/0`.
       
      repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange source_ip_ranges = 9;
    • getSourceIpRanges

      ExternalAccessRule.IpRange getSourceIpRanges(int index)
       If source ranges are specified, the external access rule applies only to
       traffic that has a source IP address in these ranges. These ranges can
       either be expressed in the CIDR format or as an IP address. As only inbound
       rules are supported, `ExternalAddress` resources cannot be the source IP
       addresses of an external access rule. To match all source addresses,
       specify `0.0.0.0/0`.
       
      repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange source_ip_ranges = 9;
    • getSourceIpRangesCount

      int getSourceIpRangesCount()
       If source ranges are specified, the external access rule applies only to
       traffic that has a source IP address in these ranges. These ranges can
       either be expressed in the CIDR format or as an IP address. As only inbound
       rules are supported, `ExternalAddress` resources cannot be the source IP
       addresses of an external access rule. To match all source addresses,
       specify `0.0.0.0/0`.
       
      repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange source_ip_ranges = 9;
    • getSourceIpRangesOrBuilderList

      List<? extends ExternalAccessRule.IpRangeOrBuilder> getSourceIpRangesOrBuilderList()
       If source ranges are specified, the external access rule applies only to
       traffic that has a source IP address in these ranges. These ranges can
       either be expressed in the CIDR format or as an IP address. As only inbound
       rules are supported, `ExternalAddress` resources cannot be the source IP
       addresses of an external access rule. To match all source addresses,
       specify `0.0.0.0/0`.
       
      repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange source_ip_ranges = 9;
    • getSourceIpRangesOrBuilder

      ExternalAccessRule.IpRangeOrBuilder getSourceIpRangesOrBuilder(int index)
       If source ranges are specified, the external access rule applies only to
       traffic that has a source IP address in these ranges. These ranges can
       either be expressed in the CIDR format or as an IP address. As only inbound
       rules are supported, `ExternalAddress` resources cannot be the source IP
       addresses of an external access rule. To match all source addresses,
       specify `0.0.0.0/0`.
       
      repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange source_ip_ranges = 9;
    • getSourcePortsList

      List<String> getSourcePortsList()
       A list of source ports to which the external access rule applies. This
       field is only applicable for the UDP or TCP protocol.
       Each entry must be either an integer or a range. For example: `["22"]`,
       `["80","443"]`, or `["12345-12349"]`. To match all source ports, specify
       `["0-65535"]`.
       
      repeated string source_ports = 10;
      Returns:
      A list containing the sourcePorts.
    • getSourcePortsCount

      int getSourcePortsCount()
       A list of source ports to which the external access rule applies. This
       field is only applicable for the UDP or TCP protocol.
       Each entry must be either an integer or a range. For example: `["22"]`,
       `["80","443"]`, or `["12345-12349"]`. To match all source ports, specify
       `["0-65535"]`.
       
      repeated string source_ports = 10;
      Returns:
      The count of sourcePorts.
    • getSourcePorts

      String getSourcePorts(int index)
       A list of source ports to which the external access rule applies. This
       field is only applicable for the UDP or TCP protocol.
       Each entry must be either an integer or a range. For example: `["22"]`,
       `["80","443"]`, or `["12345-12349"]`. To match all source ports, specify
       `["0-65535"]`.
       
      repeated string source_ports = 10;
      Parameters:
      index - The index of the element to return.
      Returns:
      The sourcePorts at the given index.
    • getSourcePortsBytes

      com.google.protobuf.ByteString getSourcePortsBytes(int index)
       A list of source ports to which the external access rule applies. This
       field is only applicable for the UDP or TCP protocol.
       Each entry must be either an integer or a range. For example: `["22"]`,
       `["80","443"]`, or `["12345-12349"]`. To match all source ports, specify
       `["0-65535"]`.
       
      repeated string source_ports = 10;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the sourcePorts at the given index.
    • getDestinationIpRangesList

      List<ExternalAccessRule.IpRange> getDestinationIpRangesList()
       If destination ranges are specified, the external access rule applies only
       to the traffic that has a destination IP address in these ranges. The
       specified IP addresses must have reserved external IP addresses in the
       scope of the parent network policy. To match all external IP addresses in
       the scope of the parent network policy, specify `0.0.0.0/0`. To match a
       specific external IP address, specify it using the
       `IpRange.external_address` property.
       
      repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange destination_ip_ranges = 11;
    • getDestinationIpRanges

      ExternalAccessRule.IpRange getDestinationIpRanges(int index)
       If destination ranges are specified, the external access rule applies only
       to the traffic that has a destination IP address in these ranges. The
       specified IP addresses must have reserved external IP addresses in the
       scope of the parent network policy. To match all external IP addresses in
       the scope of the parent network policy, specify `0.0.0.0/0`. To match a
       specific external IP address, specify it using the
       `IpRange.external_address` property.
       
      repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange destination_ip_ranges = 11;
    • getDestinationIpRangesCount

      int getDestinationIpRangesCount()
       If destination ranges are specified, the external access rule applies only
       to the traffic that has a destination IP address in these ranges. The
       specified IP addresses must have reserved external IP addresses in the
       scope of the parent network policy. To match all external IP addresses in
       the scope of the parent network policy, specify `0.0.0.0/0`. To match a
       specific external IP address, specify it using the
       `IpRange.external_address` property.
       
      repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange destination_ip_ranges = 11;
    • getDestinationIpRangesOrBuilderList

      List<? extends ExternalAccessRule.IpRangeOrBuilder> getDestinationIpRangesOrBuilderList()
       If destination ranges are specified, the external access rule applies only
       to the traffic that has a destination IP address in these ranges. The
       specified IP addresses must have reserved external IP addresses in the
       scope of the parent network policy. To match all external IP addresses in
       the scope of the parent network policy, specify `0.0.0.0/0`. To match a
       specific external IP address, specify it using the
       `IpRange.external_address` property.
       
      repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange destination_ip_ranges = 11;
    • getDestinationIpRangesOrBuilder

      ExternalAccessRule.IpRangeOrBuilder getDestinationIpRangesOrBuilder(int index)
       If destination ranges are specified, the external access rule applies only
       to the traffic that has a destination IP address in these ranges. The
       specified IP addresses must have reserved external IP addresses in the
       scope of the parent network policy. To match all external IP addresses in
       the scope of the parent network policy, specify `0.0.0.0/0`. To match a
       specific external IP address, specify it using the
       `IpRange.external_address` property.
       
      repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange destination_ip_ranges = 11;
    • getDestinationPortsList

      List<String> getDestinationPortsList()
       A list of destination ports to which the external access rule applies. This
       field is only applicable for the UDP or TCP protocol.
       Each entry must be either an integer or a range. For example: `["22"]`,
       `["80","443"]`, or `["12345-12349"]`. To match all destination ports,
       specify `["0-65535"]`.
       
      repeated string destination_ports = 12;
      Returns:
      A list containing the destinationPorts.
    • getDestinationPortsCount

      int getDestinationPortsCount()
       A list of destination ports to which the external access rule applies. This
       field is only applicable for the UDP or TCP protocol.
       Each entry must be either an integer or a range. For example: `["22"]`,
       `["80","443"]`, or `["12345-12349"]`. To match all destination ports,
       specify `["0-65535"]`.
       
      repeated string destination_ports = 12;
      Returns:
      The count of destinationPorts.
    • getDestinationPorts

      String getDestinationPorts(int index)
       A list of destination ports to which the external access rule applies. This
       field is only applicable for the UDP or TCP protocol.
       Each entry must be either an integer or a range. For example: `["22"]`,
       `["80","443"]`, or `["12345-12349"]`. To match all destination ports,
       specify `["0-65535"]`.
       
      repeated string destination_ports = 12;
      Parameters:
      index - The index of the element to return.
      Returns:
      The destinationPorts at the given index.
    • getDestinationPortsBytes

      com.google.protobuf.ByteString getDestinationPortsBytes(int index)
       A list of destination ports to which the external access rule applies. This
       field is only applicable for the UDP or TCP protocol.
       Each entry must be either an integer or a range. For example: `["22"]`,
       `["80","443"]`, or `["12345-12349"]`. To match all destination ports,
       specify `["0-65535"]`.
       
      repeated string destination_ports = 12;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the destinationPorts at the given index.
    • getStateValue

      int getStateValue()
       Output only. The state of the resource.
       
      .google.cloud.vmwareengine.v1.ExternalAccessRule.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for state.
    • getState

       Output only. The state of the resource.
       
      .google.cloud.vmwareengine.v1.ExternalAccessRule.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.
    • getUid

      String getUid()
       Output only. System-generated unique identifier for the resource.
       
      string uid = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The uid.
    • getUidBytes

      com.google.protobuf.ByteString getUidBytes()
       Output only. System-generated unique identifier for the resource.
       
      string uid = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for uid.