Interface TcpRoute.RouteMatchOrBuilder

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

public static interface TcpRoute.RouteMatchOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getAddress

      String getAddress()
       Required. Must be specified in the CIDR range format. A CIDR range
       consists of an IP Address and a prefix length to construct the subnet
       mask. By default, the prefix length is 32 (i.e. matches a single IP
       address). Only IPV4 addresses are supported. Examples: "10.0.0.1" -
       matches against this exact IP address. "10.0.0.0/8" - matches against any
       IP address within the 10.0.0.0 subnet and 255.255.255.0 mask. "0.0.0.0/0"
       - matches against any IP address'.
       
      string address = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The address.
    • getAddressBytes

      com.google.protobuf.ByteString getAddressBytes()
       Required. Must be specified in the CIDR range format. A CIDR range
       consists of an IP Address and a prefix length to construct the subnet
       mask. By default, the prefix length is 32 (i.e. matches a single IP
       address). Only IPV4 addresses are supported. Examples: "10.0.0.1" -
       matches against this exact IP address. "10.0.0.0/8" - matches against any
       IP address within the 10.0.0.0 subnet and 255.255.255.0 mask. "0.0.0.0/0"
       - matches against any IP address'.
       
      string address = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for address.
    • getPort

      String getPort()
       Required. Specifies the destination port to match against.
       
      string port = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The port.
    • getPortBytes

      com.google.protobuf.ByteString getPortBytes()
       Required. Specifies the destination port to match against.
       
      string port = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for port.