public static final class RouteOuterClass.RouteMatch extends com.google.protobuf.GeneratedMessageV3 implements RouteOuterClass.RouteMatchOrBuilder
[#comment:next free field: 5]Protobuf type
envoy.config.filter.network.thrift_proxy.v2alpha1.RouteMatch| Modifier and Type | Class and Description |
|---|---|
static class |
RouteOuterClass.RouteMatch.Builder
[#comment:next free field: 5]
Protobuf type
envoy.config.filter.network.thrift_proxy.v2alpha1.RouteMatch |
static class |
RouteOuterClass.RouteMatch.MatchSpecifierCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
HEADERS_FIELD_NUMBER |
static int |
INVERT_FIELD_NUMBER |
static int |
METHOD_NAME_FIELD_NUMBER |
static int |
SERVICE_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RouteOuterClass.RouteMatch |
getDefaultInstance() |
RouteOuterClass.RouteMatch |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
RouteOuterClass.HeaderMatcher |
getHeaders(int index)
Specifies a set of headers that the route should match on.
|
int |
getHeadersCount()
Specifies a set of headers that the route should match on.
|
List<RouteOuterClass.HeaderMatcher> |
getHeadersList()
Specifies a set of headers that the route should match on.
|
RouteOuterClass.HeaderMatcherOrBuilder |
getHeadersOrBuilder(int index)
Specifies a set of headers that the route should match on.
|
List<? extends RouteOuterClass.HeaderMatcherOrBuilder> |
getHeadersOrBuilderList()
Specifies a set of headers that the route should match on.
|
boolean |
getInvert()
Inverts whatever matching is done in the :ref:`method_name
<envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.RouteMatch.method_name>` or
:ref:`service_name
<envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.RouteMatch.service_name>` fields.
|
RouteOuterClass.RouteMatch.MatchSpecifierCase |
getMatchSpecifierCase() |
String |
getMethodName()
If specified, the route must exactly match the request method name.
|
com.google.protobuf.ByteString |
getMethodNameBytes()
If specified, the route must exactly match the request method name.
|
com.google.protobuf.Parser<RouteOuterClass.RouteMatch> |
getParserForType() |
int |
getSerializedSize() |
String |
getServiceName()
If specified, the route must have the service name as the request method name prefix.
|
com.google.protobuf.ByteString |
getServiceNameBytes()
If specified, the route must have the service name as the request method name prefix.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RouteOuterClass.RouteMatch.Builder |
newBuilder() |
static RouteOuterClass.RouteMatch.Builder |
newBuilder(RouteOuterClass.RouteMatch prototype) |
RouteOuterClass.RouteMatch.Builder |
newBuilderForType() |
protected RouteOuterClass.RouteMatch.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static RouteOuterClass.RouteMatch |
parseDelimitedFrom(InputStream input) |
static RouteOuterClass.RouteMatch |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.RouteMatch |
parseFrom(byte[] data) |
static RouteOuterClass.RouteMatch |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.RouteMatch |
parseFrom(ByteBuffer data) |
static RouteOuterClass.RouteMatch |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.RouteMatch |
parseFrom(com.google.protobuf.ByteString data) |
static RouteOuterClass.RouteMatch |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.RouteMatch |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RouteOuterClass.RouteMatch |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.RouteMatch |
parseFrom(InputStream input) |
static RouteOuterClass.RouteMatch |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RouteOuterClass.RouteMatch> |
parser() |
RouteOuterClass.RouteMatch.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int METHOD_NAME_FIELD_NUMBER
public static final int SERVICE_NAME_FIELD_NUMBER
public static final int INVERT_FIELD_NUMBER
public static final int HEADERS_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public RouteOuterClass.RouteMatch.MatchSpecifierCase getMatchSpecifierCase()
getMatchSpecifierCase in interface RouteOuterClass.RouteMatchOrBuilderpublic String getMethodName()
If specified, the route must exactly match the request method name. As a special case, an empty string matches any request method name.
string method_name = 1;getMethodName in interface RouteOuterClass.RouteMatchOrBuilderpublic com.google.protobuf.ByteString getMethodNameBytes()
If specified, the route must exactly match the request method name. As a special case, an empty string matches any request method name.
string method_name = 1;getMethodNameBytes in interface RouteOuterClass.RouteMatchOrBuilderpublic String getServiceName()
If specified, the route must have the service name as the request method name prefix. As a special case, an empty string matches any service name. Only relevant when service multiplexing.
string service_name = 2;getServiceName in interface RouteOuterClass.RouteMatchOrBuilderpublic com.google.protobuf.ByteString getServiceNameBytes()
If specified, the route must have the service name as the request method name prefix. As a special case, an empty string matches any service name. Only relevant when service multiplexing.
string service_name = 2;getServiceNameBytes in interface RouteOuterClass.RouteMatchOrBuilderpublic boolean getInvert()
Inverts whatever matching is done in the :ref:`method_name <envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.RouteMatch.method_name>` or :ref:`service_name <envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.RouteMatch.service_name>` fields. Cannot be combined with wildcard matching as that would result in routes never being matched. .. note:: This does not invert matching done as part of the :ref:`headers field <envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.RouteMatch.headers>` field. To invert header matching, see :ref:`invert_match <envoy_api_field_route.HeaderMatcher.invert_match>`.
bool invert = 3;getInvert in interface RouteOuterClass.RouteMatchOrBuilderpublic List<RouteOuterClass.HeaderMatcher> getHeadersList()
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config). Note that this only applies for Thrift transports and/or protocols that support headers.
repeated .envoy.api.v2.route.HeaderMatcher headers = 4;getHeadersList in interface RouteOuterClass.RouteMatchOrBuilderpublic List<? extends RouteOuterClass.HeaderMatcherOrBuilder> getHeadersOrBuilderList()
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config). Note that this only applies for Thrift transports and/or protocols that support headers.
repeated .envoy.api.v2.route.HeaderMatcher headers = 4;getHeadersOrBuilderList in interface RouteOuterClass.RouteMatchOrBuilderpublic int getHeadersCount()
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config). Note that this only applies for Thrift transports and/or protocols that support headers.
repeated .envoy.api.v2.route.HeaderMatcher headers = 4;getHeadersCount in interface RouteOuterClass.RouteMatchOrBuilderpublic RouteOuterClass.HeaderMatcher getHeaders(int index)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config). Note that this only applies for Thrift transports and/or protocols that support headers.
repeated .envoy.api.v2.route.HeaderMatcher headers = 4;getHeaders in interface RouteOuterClass.RouteMatchOrBuilderpublic RouteOuterClass.HeaderMatcherOrBuilder getHeadersOrBuilder(int index)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config). Note that this only applies for Thrift transports and/or protocols that support headers.
repeated .envoy.api.v2.route.HeaderMatcher headers = 4;getHeadersOrBuilder in interface RouteOuterClass.RouteMatchOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RouteOuterClass.RouteMatch parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.RouteMatch parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.RouteMatch parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.RouteMatch parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.RouteMatch parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.RouteMatch parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.RouteMatch parseFrom(InputStream input) throws IOException
IOExceptionpublic static RouteOuterClass.RouteMatch parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteOuterClass.RouteMatch parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RouteOuterClass.RouteMatch parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteOuterClass.RouteMatch parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RouteOuterClass.RouteMatch parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RouteOuterClass.RouteMatch.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RouteOuterClass.RouteMatch.Builder newBuilder()
public static RouteOuterClass.RouteMatch.Builder newBuilder(RouteOuterClass.RouteMatch prototype)
public RouteOuterClass.RouteMatch.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RouteOuterClass.RouteMatch.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RouteOuterClass.RouteMatch getDefaultInstance()
public static com.google.protobuf.Parser<RouteOuterClass.RouteMatch> parser()
public com.google.protobuf.Parser<RouteOuterClass.RouteMatch> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RouteOuterClass.RouteMatch getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.