Interface ServerNameMatcher.DomainMatcherOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String 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 getDomainsCount()
      A non-empty set of domain names with optional wildcards, e.g.
      List<String> getDomainsList()
      A non-empty set of domain names with optional wildcards, e.g.
      Matcher.OnMatch getOnMatch()
      Match action to apply when the server name matches any of the domain names in the matcher.
      Matcher.OnMatchOrBuilder getOnMatchOrBuilder()
      Match action to apply when the server name matches any of the domain names in the matcher.
      boolean hasOnMatch()
      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 Detail

      • 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;