public static final class RouteMatch.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder> implements RouteMatchOrBuilder
envoy.extensions.filters.network.rocketmq_proxy.v4alpha.RouteMatch| Modifier and Type | Method and Description |
|---|---|
RouteMatch.Builder |
addAllHeaders(Iterable<? extends HeaderMatcher> values)
Specifies a set of headers that the route should match on.
|
RouteMatch.Builder |
addHeaders(HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the route should match on.
|
RouteMatch.Builder |
addHeaders(HeaderMatcher value)
Specifies a set of headers that the route should match on.
|
RouteMatch.Builder |
addHeaders(int index,
HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the route should match on.
|
RouteMatch.Builder |
addHeaders(int index,
HeaderMatcher value)
Specifies a set of headers that the route should match on.
|
HeaderMatcher.Builder |
addHeadersBuilder()
Specifies a set of headers that the route should match on.
|
HeaderMatcher.Builder |
addHeadersBuilder(int index)
Specifies a set of headers that the route should match on.
|
RouteMatch.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteMatch |
build() |
RouteMatch |
buildPartial() |
RouteMatch.Builder |
clear() |
RouteMatch.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RouteMatch.Builder |
clearHeaders()
Specifies a set of headers that the route should match on.
|
RouteMatch.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RouteMatch.Builder |
clearTopic()
The name of the topic.
|
RouteMatch.Builder |
clone() |
RouteMatch |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
HeaderMatcher |
getHeaders(int index)
Specifies a set of headers that the route should match on.
|
HeaderMatcher.Builder |
getHeadersBuilder(int index)
Specifies a set of headers that the route should match on.
|
List<HeaderMatcher.Builder> |
getHeadersBuilderList()
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<HeaderMatcher> |
getHeadersList()
Specifies a set of headers that the route should match on.
|
HeaderMatcherOrBuilder |
getHeadersOrBuilder(int index)
Specifies a set of headers that the route should match on.
|
List<? extends HeaderMatcherOrBuilder> |
getHeadersOrBuilderList()
Specifies a set of headers that the route should match on.
|
StringMatcher |
getTopic()
The name of the topic.
|
StringMatcher.Builder |
getTopicBuilder()
The name of the topic.
|
StringMatcherOrBuilder |
getTopicOrBuilder()
The name of the topic.
|
boolean |
hasTopic()
The name of the topic.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RouteMatch.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouteMatch.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouteMatch.Builder |
mergeFrom(RouteMatch other) |
RouteMatch.Builder |
mergeTopic(StringMatcher value)
The name of the topic.
|
RouteMatch.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouteMatch.Builder |
removeHeaders(int index)
Specifies a set of headers that the route should match on.
|
RouteMatch.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteMatch.Builder |
setHeaders(int index,
HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the route should match on.
|
RouteMatch.Builder |
setHeaders(int index,
HeaderMatcher value)
Specifies a set of headers that the route should match on.
|
RouteMatch.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RouteMatch.Builder |
setTopic(StringMatcher.Builder builderForValue)
The name of the topic.
|
RouteMatch.Builder |
setTopic(StringMatcher value)
The name of the topic.
|
RouteMatch.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>public RouteMatch.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>public RouteMatch getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouteMatch build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouteMatch buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouteMatch.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>public RouteMatch.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>public RouteMatch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>public RouteMatch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>public RouteMatch.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>public RouteMatch.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>public RouteMatch.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteMatch.Builder>public RouteMatch.Builder mergeFrom(RouteMatch other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>public RouteMatch.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteMatch.Builder>IOExceptionpublic boolean hasTopic()
The name of the topic.
.envoy.type.matcher.v4alpha.StringMatcher topic = 1 [(.validate.rules) = { ... }hasTopic in interface RouteMatchOrBuilderpublic StringMatcher getTopic()
The name of the topic.
.envoy.type.matcher.v4alpha.StringMatcher topic = 1 [(.validate.rules) = { ... }getTopic in interface RouteMatchOrBuilderpublic RouteMatch.Builder setTopic(StringMatcher value)
The name of the topic.
.envoy.type.matcher.v4alpha.StringMatcher topic = 1 [(.validate.rules) = { ... }public RouteMatch.Builder setTopic(StringMatcher.Builder builderForValue)
The name of the topic.
.envoy.type.matcher.v4alpha.StringMatcher topic = 1 [(.validate.rules) = { ... }public RouteMatch.Builder mergeTopic(StringMatcher value)
The name of the topic.
.envoy.type.matcher.v4alpha.StringMatcher topic = 1 [(.validate.rules) = { ... }public RouteMatch.Builder clearTopic()
The name of the topic.
.envoy.type.matcher.v4alpha.StringMatcher topic = 1 [(.validate.rules) = { ... }public StringMatcher.Builder getTopicBuilder()
The name of the topic.
.envoy.type.matcher.v4alpha.StringMatcher topic = 1 [(.validate.rules) = { ... }public StringMatcherOrBuilder getTopicOrBuilder()
The name of the topic.
.envoy.type.matcher.v4alpha.StringMatcher topic = 1 [(.validate.rules) = { ... }getTopicOrBuilder in interface RouteMatchOrBuilderpublic List<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).
repeated .envoy.config.route.v4alpha.HeaderMatcher headers = 2;getHeadersList in interface 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).
repeated .envoy.config.route.v4alpha.HeaderMatcher headers = 2;getHeadersCount in interface RouteMatchOrBuilderpublic 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).
repeated .envoy.config.route.v4alpha.HeaderMatcher headers = 2;getHeaders in interface RouteMatchOrBuilderpublic RouteMatch.Builder setHeaders(int index, HeaderMatcher value)
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).
repeated .envoy.config.route.v4alpha.HeaderMatcher headers = 2;public RouteMatch.Builder setHeaders(int index, HeaderMatcher.Builder builderForValue)
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).
repeated .envoy.config.route.v4alpha.HeaderMatcher headers = 2;public RouteMatch.Builder addHeaders(HeaderMatcher value)
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).
repeated .envoy.config.route.v4alpha.HeaderMatcher headers = 2;public RouteMatch.Builder addHeaders(int index, HeaderMatcher value)
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).
repeated .envoy.config.route.v4alpha.HeaderMatcher headers = 2;public RouteMatch.Builder addHeaders(HeaderMatcher.Builder builderForValue)
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).
repeated .envoy.config.route.v4alpha.HeaderMatcher headers = 2;public RouteMatch.Builder addHeaders(int index, HeaderMatcher.Builder builderForValue)
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).
repeated .envoy.config.route.v4alpha.HeaderMatcher headers = 2;public RouteMatch.Builder addAllHeaders(Iterable<? extends HeaderMatcher> values)
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).
repeated .envoy.config.route.v4alpha.HeaderMatcher headers = 2;public RouteMatch.Builder clearHeaders()
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).
repeated .envoy.config.route.v4alpha.HeaderMatcher headers = 2;public RouteMatch.Builder removeHeaders(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).
repeated .envoy.config.route.v4alpha.HeaderMatcher headers = 2;public HeaderMatcher.Builder getHeadersBuilder(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).
repeated .envoy.config.route.v4alpha.HeaderMatcher headers = 2;public 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).
repeated .envoy.config.route.v4alpha.HeaderMatcher headers = 2;getHeadersOrBuilder in interface RouteMatchOrBuilderpublic List<? extends 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).
repeated .envoy.config.route.v4alpha.HeaderMatcher headers = 2;getHeadersOrBuilderList in interface RouteMatchOrBuilderpublic HeaderMatcher.Builder addHeadersBuilder()
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).
repeated .envoy.config.route.v4alpha.HeaderMatcher headers = 2;public HeaderMatcher.Builder addHeadersBuilder(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).
repeated .envoy.config.route.v4alpha.HeaderMatcher headers = 2;public List<HeaderMatcher.Builder> getHeadersBuilderList()
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).
repeated .envoy.config.route.v4alpha.HeaderMatcher headers = 2;public final RouteMatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>public final RouteMatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.