Interface ServerNameMatcher.DomainMatcherOrBuilder

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

public static interface ServerNameMatcher.DomainMatcherOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getDomains(int index)
    A non-empty set of domain names with optional wildcards, e.g.
    com.google.protobuf.ByteString
    getDomainsBytes(int index)
    A non-empty set of domain names with optional wildcards, e.g.
    int
    A non-empty set of domain names with optional wildcards, e.g.
    A non-empty set of domain names with optional wildcards, e.g.
    Match action to apply when the server name matches any of the domain names in the matcher.
    Match action to apply when the server name matches any of the domain names in the matcher.
    boolean
    Match action to apply when the server name matches any of the domain names in the matcher.

    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

    • getDomainsList

      List<String> getDomainsList()
       A non-empty set of domain names with optional wildcards, e.g.
       ``www.example.com``, ``*.com``, or ``*``.
       
      repeated string domains = 1 [(.validate.rules) = { ... }
      Returns:
      A list containing the domains.
    • getDomainsCount

      int getDomainsCount()
       A non-empty set of domain names with optional wildcards, e.g.
       ``www.example.com``, ``*.com``, or ``*``.
       
      repeated string domains = 1 [(.validate.rules) = { ... }
      Returns:
      The count of domains.
    • getDomains

      String getDomains(int index)
       A non-empty set of domain names with optional wildcards, e.g.
       ``www.example.com``, ``*.com``, or ``*``.
       
      repeated string domains = 1 [(.validate.rules) = { ... }
      Parameters:
      index - The index of the element to return.
      Returns:
      The domains at the given index.
    • getDomainsBytes

      com.google.protobuf.ByteString getDomainsBytes(int index)
       A non-empty set of domain names with optional wildcards, e.g.
       ``www.example.com``, ``*.com``, or ``*``.
       
      repeated string domains = 1 [(.validate.rules) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the domains at the given index.
    • hasOnMatch

      boolean hasOnMatch()
       Match action to apply when the server name matches any of the domain
       names in the matcher.
       
      .xds.type.matcher.v3.Matcher.OnMatch on_match = 2;
      Returns:
      Whether the onMatch field is set.
    • getOnMatch

      Matcher.OnMatch getOnMatch()
       Match action to apply when the server name matches any of the domain
       names in the matcher.
       
      .xds.type.matcher.v3.Matcher.OnMatch on_match = 2;
      Returns:
      The onMatch.
    • getOnMatchOrBuilder

      Matcher.OnMatchOrBuilder getOnMatchOrBuilder()
       Match action to apply when the server name matches any of the domain
       names in the matcher.
       
      .xds.type.matcher.v3.Matcher.OnMatch on_match = 2;