Interface TlsRoute.RouteMatchOrBuilder

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

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

    Modifier and Type
    Method
    Description
    getAlpn(int index)
    Optional.
    com.google.protobuf.ByteString
    getAlpnBytes(int index)
    Optional.
    int
    Optional.
    Optional.
    getSniHost(int index)
    Optional.
    com.google.protobuf.ByteString
    getSniHostBytes(int index)
    Optional.
    int
    Optional.
    Optional.

    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

    • getSniHostList

      List<String> getSniHostList()
       Optional. SNI (server name indicator) to match against.
       SNI will be matched against all wildcard domains, i.e. `www.example.com`
       will be first matched against `www.example.com`, then `*.example.com`,
       then `*.com.`
       Partial wildcards are not supported, and values like *w.example.com are
       invalid.
       At least one of sni_host and alpn is required.
       Up to 100 sni hosts across all matches can be set.
       
      repeated string sni_host = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the sniHost.
    • getSniHostCount

      int getSniHostCount()
       Optional. SNI (server name indicator) to match against.
       SNI will be matched against all wildcard domains, i.e. `www.example.com`
       will be first matched against `www.example.com`, then `*.example.com`,
       then `*.com.`
       Partial wildcards are not supported, and values like *w.example.com are
       invalid.
       At least one of sni_host and alpn is required.
       Up to 100 sni hosts across all matches can be set.
       
      repeated string sni_host = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of sniHost.
    • getSniHost

      String getSniHost(int index)
       Optional. SNI (server name indicator) to match against.
       SNI will be matched against all wildcard domains, i.e. `www.example.com`
       will be first matched against `www.example.com`, then `*.example.com`,
       then `*.com.`
       Partial wildcards are not supported, and values like *w.example.com are
       invalid.
       At least one of sni_host and alpn is required.
       Up to 100 sni hosts across all matches can be set.
       
      repeated string sni_host = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The sniHost at the given index.
    • getSniHostBytes

      com.google.protobuf.ByteString getSniHostBytes(int index)
       Optional. SNI (server name indicator) to match against.
       SNI will be matched against all wildcard domains, i.e. `www.example.com`
       will be first matched against `www.example.com`, then `*.example.com`,
       then `*.com.`
       Partial wildcards are not supported, and values like *w.example.com are
       invalid.
       At least one of sni_host and alpn is required.
       Up to 100 sni hosts across all matches can be set.
       
      repeated string sni_host = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the sniHost at the given index.
    • getAlpnList

      List<String> getAlpnList()
       Optional. ALPN (Application-Layer Protocol Negotiation) to match against.
       Examples: "http/1.1", "h2".
       At least one of sni_host and alpn is required.
       Up to 5 alpns across all matches can be set.
       
      repeated string alpn = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the alpn.
    • getAlpnCount

      int getAlpnCount()
       Optional. ALPN (Application-Layer Protocol Negotiation) to match against.
       Examples: "http/1.1", "h2".
       At least one of sni_host and alpn is required.
       Up to 5 alpns across all matches can be set.
       
      repeated string alpn = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of alpn.
    • getAlpn

      String getAlpn(int index)
       Optional. ALPN (Application-Layer Protocol Negotiation) to match against.
       Examples: "http/1.1", "h2".
       At least one of sni_host and alpn is required.
       Up to 5 alpns across all matches can be set.
       
      repeated string alpn = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The alpn at the given index.
    • getAlpnBytes

      com.google.protobuf.ByteString getAlpnBytes(int index)
       Optional. ALPN (Application-Layer Protocol Negotiation) to match against.
       Examples: "http/1.1", "h2".
       At least one of sni_host and alpn is required.
       Up to 5 alpns across all matches can be set.
       
      repeated string alpn = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the alpn at the given index.