Class InternalUpstreamTransport.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<InternalUpstreamTransport.Builder>
io.envoyproxy.envoy.extensions.transport_sockets.internal_upstream.v3.InternalUpstreamTransport.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, InternalUpstreamTransportOrBuilder, Cloneable
Enclosing class:
InternalUpstreamTransport

public static final class InternalUpstreamTransport.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InternalUpstreamTransport.Builder> implements InternalUpstreamTransportOrBuilder
 Configuration for the internal upstream address. An internal address defines
 a loopback user space socket residing in the same proxy instance. This
 extension allows passing additional structured state across the user space
 socket in addition to the regular byte stream. The purpose is to facilitate
 communication between filters on the downstream and the upstream internal
 connections. All filter state objects that are shared with the upstream
 connection are also shared with the downstream internal connection using
 this transport socket.
 
Protobuf type envoy.extensions.transport_sockets.internal_upstream.v3.InternalUpstreamTransport
  • 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<InternalUpstreamTransport.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<InternalUpstreamTransport.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<InternalUpstreamTransport.Builder>
    • getDefaultInstanceForType

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

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

      public InternalUpstreamTransport 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<InternalUpstreamTransport.Builder>
    • setField

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

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

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

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

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

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

      public InternalUpstreamTransport.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<InternalUpstreamTransport.Builder>
      Throws:
      IOException
    • getPassthroughMetadataList

      public List<InternalUpstreamTransport.MetadataValueSource> getPassthroughMetadataList()
       Specifies the metadata namespaces and values to insert into the downstream
       internal connection dynamic metadata when an internal address is used as a
       host. If the destination name is repeated across two metadata source
       locations, and both locations contain the metadata with the given name,
       then the latter in the list overrides the former.
       
      repeated .envoy.extensions.transport_sockets.internal_upstream.v3.InternalUpstreamTransport.MetadataValueSource passthrough_metadata = 1;
      Specified by:
      getPassthroughMetadataList in interface InternalUpstreamTransportOrBuilder
    • getPassthroughMetadataCount

      public int getPassthroughMetadataCount()
       Specifies the metadata namespaces and values to insert into the downstream
       internal connection dynamic metadata when an internal address is used as a
       host. If the destination name is repeated across two metadata source
       locations, and both locations contain the metadata with the given name,
       then the latter in the list overrides the former.
       
      repeated .envoy.extensions.transport_sockets.internal_upstream.v3.InternalUpstreamTransport.MetadataValueSource passthrough_metadata = 1;
      Specified by:
      getPassthroughMetadataCount in interface InternalUpstreamTransportOrBuilder
    • getPassthroughMetadata

      public InternalUpstreamTransport.MetadataValueSource getPassthroughMetadata(int index)
       Specifies the metadata namespaces and values to insert into the downstream
       internal connection dynamic metadata when an internal address is used as a
       host. If the destination name is repeated across two metadata source
       locations, and both locations contain the metadata with the given name,
       then the latter in the list overrides the former.
       
      repeated .envoy.extensions.transport_sockets.internal_upstream.v3.InternalUpstreamTransport.MetadataValueSource passthrough_metadata = 1;
      Specified by:
      getPassthroughMetadata in interface InternalUpstreamTransportOrBuilder
    • setPassthroughMetadata

      public InternalUpstreamTransport.Builder setPassthroughMetadata(int index, InternalUpstreamTransport.MetadataValueSource value)
       Specifies the metadata namespaces and values to insert into the downstream
       internal connection dynamic metadata when an internal address is used as a
       host. If the destination name is repeated across two metadata source
       locations, and both locations contain the metadata with the given name,
       then the latter in the list overrides the former.
       
      repeated .envoy.extensions.transport_sockets.internal_upstream.v3.InternalUpstreamTransport.MetadataValueSource passthrough_metadata = 1;
    • setPassthroughMetadata

      public InternalUpstreamTransport.Builder setPassthroughMetadata(int index, InternalUpstreamTransport.MetadataValueSource.Builder builderForValue)
       Specifies the metadata namespaces and values to insert into the downstream
       internal connection dynamic metadata when an internal address is used as a
       host. If the destination name is repeated across two metadata source
       locations, and both locations contain the metadata with the given name,
       then the latter in the list overrides the former.
       
      repeated .envoy.extensions.transport_sockets.internal_upstream.v3.InternalUpstreamTransport.MetadataValueSource passthrough_metadata = 1;
    • addPassthroughMetadata

       Specifies the metadata namespaces and values to insert into the downstream
       internal connection dynamic metadata when an internal address is used as a
       host. If the destination name is repeated across two metadata source
       locations, and both locations contain the metadata with the given name,
       then the latter in the list overrides the former.
       
      repeated .envoy.extensions.transport_sockets.internal_upstream.v3.InternalUpstreamTransport.MetadataValueSource passthrough_metadata = 1;
    • addPassthroughMetadata

      public InternalUpstreamTransport.Builder addPassthroughMetadata(int index, InternalUpstreamTransport.MetadataValueSource value)
       Specifies the metadata namespaces and values to insert into the downstream
       internal connection dynamic metadata when an internal address is used as a
       host. If the destination name is repeated across two metadata source
       locations, and both locations contain the metadata with the given name,
       then the latter in the list overrides the former.
       
      repeated .envoy.extensions.transport_sockets.internal_upstream.v3.InternalUpstreamTransport.MetadataValueSource passthrough_metadata = 1;
    • addPassthroughMetadata

       Specifies the metadata namespaces and values to insert into the downstream
       internal connection dynamic metadata when an internal address is used as a
       host. If the destination name is repeated across two metadata source
       locations, and both locations contain the metadata with the given name,
       then the latter in the list overrides the former.
       
      repeated .envoy.extensions.transport_sockets.internal_upstream.v3.InternalUpstreamTransport.MetadataValueSource passthrough_metadata = 1;
    • addPassthroughMetadata

      public InternalUpstreamTransport.Builder addPassthroughMetadata(int index, InternalUpstreamTransport.MetadataValueSource.Builder builderForValue)
       Specifies the metadata namespaces and values to insert into the downstream
       internal connection dynamic metadata when an internal address is used as a
       host. If the destination name is repeated across two metadata source
       locations, and both locations contain the metadata with the given name,
       then the latter in the list overrides the former.
       
      repeated .envoy.extensions.transport_sockets.internal_upstream.v3.InternalUpstreamTransport.MetadataValueSource passthrough_metadata = 1;
    • addAllPassthroughMetadata

       Specifies the metadata namespaces and values to insert into the downstream
       internal connection dynamic metadata when an internal address is used as a
       host. If the destination name is repeated across two metadata source
       locations, and both locations contain the metadata with the given name,
       then the latter in the list overrides the former.
       
      repeated .envoy.extensions.transport_sockets.internal_upstream.v3.InternalUpstreamTransport.MetadataValueSource passthrough_metadata = 1;
    • clearPassthroughMetadata

      public InternalUpstreamTransport.Builder clearPassthroughMetadata()
       Specifies the metadata namespaces and values to insert into the downstream
       internal connection dynamic metadata when an internal address is used as a
       host. If the destination name is repeated across two metadata source
       locations, and both locations contain the metadata with the given name,
       then the latter in the list overrides the former.
       
      repeated .envoy.extensions.transport_sockets.internal_upstream.v3.InternalUpstreamTransport.MetadataValueSource passthrough_metadata = 1;
    • removePassthroughMetadata

      public InternalUpstreamTransport.Builder removePassthroughMetadata(int index)
       Specifies the metadata namespaces and values to insert into the downstream
       internal connection dynamic metadata when an internal address is used as a
       host. If the destination name is repeated across two metadata source
       locations, and both locations contain the metadata with the given name,
       then the latter in the list overrides the former.
       
      repeated .envoy.extensions.transport_sockets.internal_upstream.v3.InternalUpstreamTransport.MetadataValueSource passthrough_metadata = 1;
    • getPassthroughMetadataBuilder

      public InternalUpstreamTransport.MetadataValueSource.Builder getPassthroughMetadataBuilder(int index)
       Specifies the metadata namespaces and values to insert into the downstream
       internal connection dynamic metadata when an internal address is used as a
       host. If the destination name is repeated across two metadata source
       locations, and both locations contain the metadata with the given name,
       then the latter in the list overrides the former.
       
      repeated .envoy.extensions.transport_sockets.internal_upstream.v3.InternalUpstreamTransport.MetadataValueSource passthrough_metadata = 1;
    • getPassthroughMetadataOrBuilder

      public InternalUpstreamTransport.MetadataValueSourceOrBuilder getPassthroughMetadataOrBuilder(int index)
       Specifies the metadata namespaces and values to insert into the downstream
       internal connection dynamic metadata when an internal address is used as a
       host. If the destination name is repeated across two metadata source
       locations, and both locations contain the metadata with the given name,
       then the latter in the list overrides the former.
       
      repeated .envoy.extensions.transport_sockets.internal_upstream.v3.InternalUpstreamTransport.MetadataValueSource passthrough_metadata = 1;
      Specified by:
      getPassthroughMetadataOrBuilder in interface InternalUpstreamTransportOrBuilder
    • getPassthroughMetadataOrBuilderList

      public List<? extends InternalUpstreamTransport.MetadataValueSourceOrBuilder> getPassthroughMetadataOrBuilderList()
       Specifies the metadata namespaces and values to insert into the downstream
       internal connection dynamic metadata when an internal address is used as a
       host. If the destination name is repeated across two metadata source
       locations, and both locations contain the metadata with the given name,
       then the latter in the list overrides the former.
       
      repeated .envoy.extensions.transport_sockets.internal_upstream.v3.InternalUpstreamTransport.MetadataValueSource passthrough_metadata = 1;
      Specified by:
      getPassthroughMetadataOrBuilderList in interface InternalUpstreamTransportOrBuilder
    • addPassthroughMetadataBuilder

      public InternalUpstreamTransport.MetadataValueSource.Builder addPassthroughMetadataBuilder()
       Specifies the metadata namespaces and values to insert into the downstream
       internal connection dynamic metadata when an internal address is used as a
       host. If the destination name is repeated across two metadata source
       locations, and both locations contain the metadata with the given name,
       then the latter in the list overrides the former.
       
      repeated .envoy.extensions.transport_sockets.internal_upstream.v3.InternalUpstreamTransport.MetadataValueSource passthrough_metadata = 1;
    • addPassthroughMetadataBuilder

      public InternalUpstreamTransport.MetadataValueSource.Builder addPassthroughMetadataBuilder(int index)
       Specifies the metadata namespaces and values to insert into the downstream
       internal connection dynamic metadata when an internal address is used as a
       host. If the destination name is repeated across two metadata source
       locations, and both locations contain the metadata with the given name,
       then the latter in the list overrides the former.
       
      repeated .envoy.extensions.transport_sockets.internal_upstream.v3.InternalUpstreamTransport.MetadataValueSource passthrough_metadata = 1;
    • getPassthroughMetadataBuilderList

      public List<InternalUpstreamTransport.MetadataValueSource.Builder> getPassthroughMetadataBuilderList()
       Specifies the metadata namespaces and values to insert into the downstream
       internal connection dynamic metadata when an internal address is used as a
       host. If the destination name is repeated across two metadata source
       locations, and both locations contain the metadata with the given name,
       then the latter in the list overrides the former.
       
      repeated .envoy.extensions.transport_sockets.internal_upstream.v3.InternalUpstreamTransport.MetadataValueSource passthrough_metadata = 1;
    • hasTransportSocket

      public boolean hasTransportSocket()
       The underlying transport socket being wrapped.
       
      .envoy.config.core.v3.TransportSocket transport_socket = 3 [(.validate.rules) = { ... }
      Specified by:
      hasTransportSocket in interface InternalUpstreamTransportOrBuilder
      Returns:
      Whether the transportSocket field is set.
    • getTransportSocket

      public TransportSocket getTransportSocket()
       The underlying transport socket being wrapped.
       
      .envoy.config.core.v3.TransportSocket transport_socket = 3 [(.validate.rules) = { ... }
      Specified by:
      getTransportSocket in interface InternalUpstreamTransportOrBuilder
      Returns:
      The transportSocket.
    • setTransportSocket

      public InternalUpstreamTransport.Builder setTransportSocket(TransportSocket value)
       The underlying transport socket being wrapped.
       
      .envoy.config.core.v3.TransportSocket transport_socket = 3 [(.validate.rules) = { ... }
    • setTransportSocket

      public InternalUpstreamTransport.Builder setTransportSocket(TransportSocket.Builder builderForValue)
       The underlying transport socket being wrapped.
       
      .envoy.config.core.v3.TransportSocket transport_socket = 3 [(.validate.rules) = { ... }
    • mergeTransportSocket

      public InternalUpstreamTransport.Builder mergeTransportSocket(TransportSocket value)
       The underlying transport socket being wrapped.
       
      .envoy.config.core.v3.TransportSocket transport_socket = 3 [(.validate.rules) = { ... }
    • clearTransportSocket

      public InternalUpstreamTransport.Builder clearTransportSocket()
       The underlying transport socket being wrapped.
       
      .envoy.config.core.v3.TransportSocket transport_socket = 3 [(.validate.rules) = { ... }
    • getTransportSocketBuilder

      public TransportSocket.Builder getTransportSocketBuilder()
       The underlying transport socket being wrapped.
       
      .envoy.config.core.v3.TransportSocket transport_socket = 3 [(.validate.rules) = { ... }
    • getTransportSocketOrBuilder

      public TransportSocketOrBuilder getTransportSocketOrBuilder()
       The underlying transport socket being wrapped.
       
      .envoy.config.core.v3.TransportSocket transport_socket = 3 [(.validate.rules) = { ... }
      Specified by:
      getTransportSocketOrBuilder in interface InternalUpstreamTransportOrBuilder
    • setUnknownFields

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

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