Class RouteConfiguration.Builder

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

public static final class RouteConfiguration.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteConfiguration.Builder> implements RouteConfigurationOrBuilder
 [#next-free-field: 6]
 
Protobuf type envoy.config.filter.network.dubbo_proxy.v2alpha1.RouteConfiguration
  • 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<RouteConfiguration.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<RouteConfiguration.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<RouteConfiguration.Builder>
    • getDefaultInstanceForType

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

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

      public RouteConfiguration buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<RouteConfiguration.Builder>
    • setField

      public RouteConfiguration.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<RouteConfiguration.Builder>
    • clearField

      public RouteConfiguration.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<RouteConfiguration.Builder>
    • clearOneof

      public RouteConfiguration.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<RouteConfiguration.Builder>
    • setRepeatedField

      public RouteConfiguration.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<RouteConfiguration.Builder>
    • addRepeatedField

      public RouteConfiguration.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<RouteConfiguration.Builder>
    • mergeFrom

      public RouteConfiguration.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<RouteConfiguration.Builder>
    • mergeFrom

    • isInitialized

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

      public RouteConfiguration.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<RouteConfiguration.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       The name of the route configuration. Reserved for future use in asynchronous route discovery.
       
      string name = 1;
      Specified by:
      getName in interface RouteConfigurationOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the route configuration. Reserved for future use in asynchronous route discovery.
       
      string name = 1;
      Specified by:
      getNameBytes in interface RouteConfigurationOrBuilder
      Returns:
      The bytes for name.
    • setName

      public RouteConfiguration.Builder setName(String value)
       The name of the route configuration. Reserved for future use in asynchronous route discovery.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public RouteConfiguration.Builder clearName()
       The name of the route configuration. Reserved for future use in asynchronous route discovery.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public RouteConfiguration.Builder setNameBytes(com.google.protobuf.ByteString value)
       The name of the route configuration. Reserved for future use in asynchronous route discovery.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getInterface

      public String getInterface()
       The interface name of the service.
       
      string interface = 2;
      Specified by:
      getInterface in interface RouteConfigurationOrBuilder
      Returns:
      The interface.
    • getInterfaceBytes

      public com.google.protobuf.ByteString getInterfaceBytes()
       The interface name of the service.
       
      string interface = 2;
      Specified by:
      getInterfaceBytes in interface RouteConfigurationOrBuilder
      Returns:
      The bytes for interface.
    • setInterface

      public RouteConfiguration.Builder setInterface(String value)
       The interface name of the service.
       
      string interface = 2;
      Parameters:
      value - The interface to set.
      Returns:
      This builder for chaining.
    • clearInterface

      public RouteConfiguration.Builder clearInterface()
       The interface name of the service.
       
      string interface = 2;
      Returns:
      This builder for chaining.
    • setInterfaceBytes

      public RouteConfiguration.Builder setInterfaceBytes(com.google.protobuf.ByteString value)
       The interface name of the service.
       
      string interface = 2;
      Parameters:
      value - The bytes for interface to set.
      Returns:
      This builder for chaining.
    • getGroup

      public String getGroup()
       Which group does the interface belong to.
       
      string group = 3;
      Specified by:
      getGroup in interface RouteConfigurationOrBuilder
      Returns:
      The group.
    • getGroupBytes

      public com.google.protobuf.ByteString getGroupBytes()
       Which group does the interface belong to.
       
      string group = 3;
      Specified by:
      getGroupBytes in interface RouteConfigurationOrBuilder
      Returns:
      The bytes for group.
    • setGroup

      public RouteConfiguration.Builder setGroup(String value)
       Which group does the interface belong to.
       
      string group = 3;
      Parameters:
      value - The group to set.
      Returns:
      This builder for chaining.
    • clearGroup

      public RouteConfiguration.Builder clearGroup()
       Which group does the interface belong to.
       
      string group = 3;
      Returns:
      This builder for chaining.
    • setGroupBytes

      public RouteConfiguration.Builder setGroupBytes(com.google.protobuf.ByteString value)
       Which group does the interface belong to.
       
      string group = 3;
      Parameters:
      value - The bytes for group to set.
      Returns:
      This builder for chaining.
    • getVersion

      public String getVersion()
       The version number of the interface.
       
      string version = 4;
      Specified by:
      getVersion in interface RouteConfigurationOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       The version number of the interface.
       
      string version = 4;
      Specified by:
      getVersionBytes in interface RouteConfigurationOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public RouteConfiguration.Builder setVersion(String value)
       The version number of the interface.
       
      string version = 4;
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public RouteConfiguration.Builder clearVersion()
       The version number of the interface.
       
      string version = 4;
      Returns:
      This builder for chaining.
    • setVersionBytes

      public RouteConfiguration.Builder setVersionBytes(com.google.protobuf.ByteString value)
       The version number of the interface.
       
      string version = 4;
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.
    • getRoutesList

      public List<Route> getRoutesList()
       The list of routes that will be matched, in order, against incoming requests. The first route
       that matches will be used.
       
      repeated .envoy.config.filter.network.dubbo_proxy.v2alpha1.Route routes = 5;
      Specified by:
      getRoutesList in interface RouteConfigurationOrBuilder
    • getRoutesCount

      public int getRoutesCount()
       The list of routes that will be matched, in order, against incoming requests. The first route
       that matches will be used.
       
      repeated .envoy.config.filter.network.dubbo_proxy.v2alpha1.Route routes = 5;
      Specified by:
      getRoutesCount in interface RouteConfigurationOrBuilder
    • getRoutes

      public Route getRoutes(int index)
       The list of routes that will be matched, in order, against incoming requests. The first route
       that matches will be used.
       
      repeated .envoy.config.filter.network.dubbo_proxy.v2alpha1.Route routes = 5;
      Specified by:
      getRoutes in interface RouteConfigurationOrBuilder
    • setRoutes

      public RouteConfiguration.Builder setRoutes(int index, Route value)
       The list of routes that will be matched, in order, against incoming requests. The first route
       that matches will be used.
       
      repeated .envoy.config.filter.network.dubbo_proxy.v2alpha1.Route routes = 5;
    • setRoutes

      public RouteConfiguration.Builder setRoutes(int index, Route.Builder builderForValue)
       The list of routes that will be matched, in order, against incoming requests. The first route
       that matches will be used.
       
      repeated .envoy.config.filter.network.dubbo_proxy.v2alpha1.Route routes = 5;
    • addRoutes

      public RouteConfiguration.Builder addRoutes(Route value)
       The list of routes that will be matched, in order, against incoming requests. The first route
       that matches will be used.
       
      repeated .envoy.config.filter.network.dubbo_proxy.v2alpha1.Route routes = 5;
    • addRoutes

      public RouteConfiguration.Builder addRoutes(int index, Route value)
       The list of routes that will be matched, in order, against incoming requests. The first route
       that matches will be used.
       
      repeated .envoy.config.filter.network.dubbo_proxy.v2alpha1.Route routes = 5;
    • addRoutes

      public RouteConfiguration.Builder addRoutes(Route.Builder builderForValue)
       The list of routes that will be matched, in order, against incoming requests. The first route
       that matches will be used.
       
      repeated .envoy.config.filter.network.dubbo_proxy.v2alpha1.Route routes = 5;
    • addRoutes

      public RouteConfiguration.Builder addRoutes(int index, Route.Builder builderForValue)
       The list of routes that will be matched, in order, against incoming requests. The first route
       that matches will be used.
       
      repeated .envoy.config.filter.network.dubbo_proxy.v2alpha1.Route routes = 5;
    • addAllRoutes

      public RouteConfiguration.Builder addAllRoutes(Iterable<? extends Route> values)
       The list of routes that will be matched, in order, against incoming requests. The first route
       that matches will be used.
       
      repeated .envoy.config.filter.network.dubbo_proxy.v2alpha1.Route routes = 5;
    • clearRoutes

      public RouteConfiguration.Builder clearRoutes()
       The list of routes that will be matched, in order, against incoming requests. The first route
       that matches will be used.
       
      repeated .envoy.config.filter.network.dubbo_proxy.v2alpha1.Route routes = 5;
    • removeRoutes

      public RouteConfiguration.Builder removeRoutes(int index)
       The list of routes that will be matched, in order, against incoming requests. The first route
       that matches will be used.
       
      repeated .envoy.config.filter.network.dubbo_proxy.v2alpha1.Route routes = 5;
    • getRoutesBuilder

      public Route.Builder getRoutesBuilder(int index)
       The list of routes that will be matched, in order, against incoming requests. The first route
       that matches will be used.
       
      repeated .envoy.config.filter.network.dubbo_proxy.v2alpha1.Route routes = 5;
    • getRoutesOrBuilder

      public RouteOrBuilder getRoutesOrBuilder(int index)
       The list of routes that will be matched, in order, against incoming requests. The first route
       that matches will be used.
       
      repeated .envoy.config.filter.network.dubbo_proxy.v2alpha1.Route routes = 5;
      Specified by:
      getRoutesOrBuilder in interface RouteConfigurationOrBuilder
    • getRoutesOrBuilderList

      public List<? extends RouteOrBuilder> getRoutesOrBuilderList()
       The list of routes that will be matched, in order, against incoming requests. The first route
       that matches will be used.
       
      repeated .envoy.config.filter.network.dubbo_proxy.v2alpha1.Route routes = 5;
      Specified by:
      getRoutesOrBuilderList in interface RouteConfigurationOrBuilder
    • addRoutesBuilder

      public Route.Builder addRoutesBuilder()
       The list of routes that will be matched, in order, against incoming requests. The first route
       that matches will be used.
       
      repeated .envoy.config.filter.network.dubbo_proxy.v2alpha1.Route routes = 5;
    • addRoutesBuilder

      public Route.Builder addRoutesBuilder(int index)
       The list of routes that will be matched, in order, against incoming requests. The first route
       that matches will be used.
       
      repeated .envoy.config.filter.network.dubbo_proxy.v2alpha1.Route routes = 5;
    • getRoutesBuilderList

      public List<Route.Builder> getRoutesBuilderList()
       The list of routes that will be matched, in order, against incoming requests. The first route
       that matches will be used.
       
      repeated .envoy.config.filter.network.dubbo_proxy.v2alpha1.Route routes = 5;
    • setUnknownFields

      public final RouteConfiguration.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<RouteConfiguration.Builder>
    • mergeUnknownFields

      public final RouteConfiguration.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<RouteConfiguration.Builder>