Package com.github.xds.type.matcher.v3
Interface ServerNameMatcherOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ServerNameMatcher,ServerNameMatcher.Builder
public interface ServerNameMatcherOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServerNameMatcher.DomainMatchergetDomainMatchers(int index)Match a server name by multiple domain matchers.intgetDomainMatchersCount()Match a server name by multiple domain matchers.List<ServerNameMatcher.DomainMatcher>getDomainMatchersList()Match a server name by multiple domain matchers.ServerNameMatcher.DomainMatcherOrBuildergetDomainMatchersOrBuilder(int index)Match a server name by multiple domain matchers.List<? extends ServerNameMatcher.DomainMatcherOrBuilder>getDomainMatchersOrBuilderList()Match a server name by multiple domain matchers.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDomainMatchersList
List<ServerNameMatcher.DomainMatcher> getDomainMatchersList()
Match a server name by multiple domain matchers. Each domain, exact or wildcard, must appear at most once across all the domain matchers. The server name will be matched against all wildcard domains starting from the longest suffix, i.e. ``www.example.com`` input will be first matched against ``www.example.com``, then ``*.example.com``, then ``*.com``, then ``*``, until the associated matcher action accepts the input. Note that wildcards must be on a dot border, and values like ``*w.example.com`` are invalid.
repeated .xds.type.matcher.v3.ServerNameMatcher.DomainMatcher domain_matchers = 1;
-
getDomainMatchers
ServerNameMatcher.DomainMatcher getDomainMatchers(int index)
Match a server name by multiple domain matchers. Each domain, exact or wildcard, must appear at most once across all the domain matchers. The server name will be matched against all wildcard domains starting from the longest suffix, i.e. ``www.example.com`` input will be first matched against ``www.example.com``, then ``*.example.com``, then ``*.com``, then ``*``, until the associated matcher action accepts the input. Note that wildcards must be on a dot border, and values like ``*w.example.com`` are invalid.
repeated .xds.type.matcher.v3.ServerNameMatcher.DomainMatcher domain_matchers = 1;
-
getDomainMatchersCount
int getDomainMatchersCount()
Match a server name by multiple domain matchers. Each domain, exact or wildcard, must appear at most once across all the domain matchers. The server name will be matched against all wildcard domains starting from the longest suffix, i.e. ``www.example.com`` input will be first matched against ``www.example.com``, then ``*.example.com``, then ``*.com``, then ``*``, until the associated matcher action accepts the input. Note that wildcards must be on a dot border, and values like ``*w.example.com`` are invalid.
repeated .xds.type.matcher.v3.ServerNameMatcher.DomainMatcher domain_matchers = 1;
-
getDomainMatchersOrBuilderList
List<? extends ServerNameMatcher.DomainMatcherOrBuilder> getDomainMatchersOrBuilderList()
Match a server name by multiple domain matchers. Each domain, exact or wildcard, must appear at most once across all the domain matchers. The server name will be matched against all wildcard domains starting from the longest suffix, i.e. ``www.example.com`` input will be first matched against ``www.example.com``, then ``*.example.com``, then ``*.com``, then ``*``, until the associated matcher action accepts the input. Note that wildcards must be on a dot border, and values like ``*w.example.com`` are invalid.
repeated .xds.type.matcher.v3.ServerNameMatcher.DomainMatcher domain_matchers = 1;
-
getDomainMatchersOrBuilder
ServerNameMatcher.DomainMatcherOrBuilder getDomainMatchersOrBuilder(int index)
Match a server name by multiple domain matchers. Each domain, exact or wildcard, must appear at most once across all the domain matchers. The server name will be matched against all wildcard domains starting from the longest suffix, i.e. ``www.example.com`` input will be first matched against ``www.example.com``, then ``*.example.com``, then ``*.com``, then ``*``, until the associated matcher action accepts the input. Note that wildcards must be on a dot border, and values like ``*w.example.com`` are invalid.
repeated .xds.type.matcher.v3.ServerNameMatcher.DomainMatcher domain_matchers = 1;
-
-