java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
io.envoyproxy.envoy.config.filter.network.dubbo_proxy.v2alpha1.RouteMatch.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RouteMatchOrBuilder, Cloneable
Enclosing class:
RouteMatch

public static final class RouteMatch.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder> implements RouteMatchOrBuilder
Protobuf type envoy.config.filter.network.dubbo_proxy.v2alpha1.RouteMatch
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
    • clear

      public RouteMatch.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
    • getDefaultInstanceForType

      public RouteMatch getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public RouteMatch build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RouteMatch buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public RouteMatch.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
    • setField

      public RouteMatch.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
    • clearField

      public RouteMatch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
    • clearOneof

      public RouteMatch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
    • setRepeatedField

      public RouteMatch.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
    • addRepeatedField

      public RouteMatch.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
    • mergeFrom

      public RouteMatch.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteMatch.Builder>
    • mergeFrom

      public RouteMatch.Builder mergeFrom(RouteMatch other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
    • mergeFrom

      public RouteMatch.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteMatch.Builder>
      Throws:
      IOException
    • hasMethod

      public boolean hasMethod()
       Method level routing matching.
       
      .envoy.config.filter.network.dubbo_proxy.v2alpha1.MethodMatch method = 1;
      Specified by:
      hasMethod in interface RouteMatchOrBuilder
      Returns:
      Whether the method field is set.
    • getMethod

      public MethodMatch getMethod()
       Method level routing matching.
       
      .envoy.config.filter.network.dubbo_proxy.v2alpha1.MethodMatch method = 1;
      Specified by:
      getMethod in interface RouteMatchOrBuilder
      Returns:
      The method.
    • setMethod

      public RouteMatch.Builder setMethod(MethodMatch value)
       Method level routing matching.
       
      .envoy.config.filter.network.dubbo_proxy.v2alpha1.MethodMatch method = 1;
    • setMethod

      public RouteMatch.Builder setMethod(MethodMatch.Builder builderForValue)
       Method level routing matching.
       
      .envoy.config.filter.network.dubbo_proxy.v2alpha1.MethodMatch method = 1;
    • mergeMethod

      public RouteMatch.Builder mergeMethod(MethodMatch value)
       Method level routing matching.
       
      .envoy.config.filter.network.dubbo_proxy.v2alpha1.MethodMatch method = 1;
    • clearMethod

      public RouteMatch.Builder clearMethod()
       Method level routing matching.
       
      .envoy.config.filter.network.dubbo_proxy.v2alpha1.MethodMatch method = 1;
    • getMethodBuilder

      public MethodMatch.Builder getMethodBuilder()
       Method level routing matching.
       
      .envoy.config.filter.network.dubbo_proxy.v2alpha1.MethodMatch method = 1;
    • getMethodOrBuilder

      public MethodMatchOrBuilder getMethodOrBuilder()
       Method level routing matching.
       
      .envoy.config.filter.network.dubbo_proxy.v2alpha1.MethodMatch method = 1;
      Specified by:
      getMethodOrBuilder in interface RouteMatchOrBuilder
    • getHeadersList

      public 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.api.v2.route.HeaderMatcher headers = 2;
      Specified by:
      getHeadersList in interface RouteMatchOrBuilder
    • getHeadersCount

      public 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.api.v2.route.HeaderMatcher headers = 2;
      Specified by:
      getHeadersCount in interface RouteMatchOrBuilder
    • getHeaders

      public 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.api.v2.route.HeaderMatcher headers = 2;
      Specified by:
      getHeaders in interface RouteMatchOrBuilder
    • setHeaders

      public 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.api.v2.route.HeaderMatcher headers = 2;
    • setHeaders

      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.api.v2.route.HeaderMatcher headers = 2;
    • addHeaders

      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.api.v2.route.HeaderMatcher headers = 2;
    • addHeaders

      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.api.v2.route.HeaderMatcher headers = 2;
    • addHeaders

      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.api.v2.route.HeaderMatcher headers = 2;
    • addHeaders

      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.api.v2.route.HeaderMatcher headers = 2;
    • addAllHeaders

      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.api.v2.route.HeaderMatcher headers = 2;
    • clearHeaders

      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.api.v2.route.HeaderMatcher headers = 2;
    • removeHeaders

      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.api.v2.route.HeaderMatcher headers = 2;
    • getHeadersBuilder

      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.api.v2.route.HeaderMatcher headers = 2;
    • getHeadersOrBuilder

      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.api.v2.route.HeaderMatcher headers = 2;
      Specified by:
      getHeadersOrBuilder in interface RouteMatchOrBuilder
    • getHeadersOrBuilderList

      public 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.api.v2.route.HeaderMatcher headers = 2;
      Specified by:
      getHeadersOrBuilderList in interface RouteMatchOrBuilder
    • addHeadersBuilder

      public 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.api.v2.route.HeaderMatcher headers = 2;
    • addHeadersBuilder

      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.api.v2.route.HeaderMatcher headers = 2;
    • getHeadersBuilderList

      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.api.v2.route.HeaderMatcher headers = 2;
    • setUnknownFields

      public final RouteMatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
    • mergeUnknownFields

      public final RouteMatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>