Interface PolicyBasedRoute.FilterOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PolicyBasedRoute.Filter, PolicyBasedRoute.Filter.Builder
Enclosing class:
PolicyBasedRoute

public static interface PolicyBasedRoute.FilterOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getIpProtocol

      String getIpProtocol()
       Optional. The IP protocol that this policy-based route applies to. Valid
       values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
       
      string ip_protocol = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The ipProtocol.
    • getIpProtocolBytes

      com.google.protobuf.ByteString getIpProtocolBytes()
       Optional. The IP protocol that this policy-based route applies to. Valid
       values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
       
      string ip_protocol = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for ipProtocol.
    • getSrcRange

      String getSrcRange()
       Optional. The source IP range of outgoing packets that this policy-based
       route applies to. Default is "0.0.0.0/0" if protocol version is IPv4 and
       "::/0" if protocol version is IPv6.
       
      string src_range = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The srcRange.
    • getSrcRangeBytes

      com.google.protobuf.ByteString getSrcRangeBytes()
       Optional. The source IP range of outgoing packets that this policy-based
       route applies to. Default is "0.0.0.0/0" if protocol version is IPv4 and
       "::/0" if protocol version is IPv6.
       
      string src_range = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for srcRange.
    • getDestRange

      String getDestRange()
       Optional. The destination IP range of outgoing packets that this
       policy-based route applies to. Default is "0.0.0.0/0" if protocol version
       is IPv4 and "::/0" if protocol version is IPv6.
       
      string dest_range = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The destRange.
    • getDestRangeBytes

      com.google.protobuf.ByteString getDestRangeBytes()
       Optional. The destination IP range of outgoing packets that this
       policy-based route applies to. Default is "0.0.0.0/0" if protocol version
       is IPv4 and "::/0" if protocol version is IPv6.
       
      string dest_range = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for destRange.
    • getProtocolVersionValue

      int getProtocolVersionValue()
       Required. Internet protocol versions this policy-based route applies to.
       IPV4 and IPV6 is supported.
       
      .google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.Filter.ProtocolVersion protocol_version = 6 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for protocolVersion.
    • getProtocolVersion

       Required. Internet protocol versions this policy-based route applies to.
       IPV4 and IPV6 is supported.
       
      .google.cloud.networkconnectivity.v1beta.PolicyBasedRoute.Filter.ProtocolVersion protocol_version = 6 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The protocolVersion.