Package com.github.xds.type.matcher.v3
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 TypeMethodDescriptiongetDomains(int index) A non-empty set of domain names with optional wildcards, e.g.com.google.protobuf.ByteStringgetDomainsBytes(int index) A non-empty set of domain names with optional wildcards, e.g.intA 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.booleanMatch action to apply when the server name matches any of the domain names in the matcher.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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;
-