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 Summary
Modifier and TypeMethodDescriptionaddAllPassthroughMetadata(Iterable<? extends InternalUpstreamTransport.MetadataValueSource> values) Specifies the metadata namespaces and values to insert into the downstream internal connection dynamic metadata when an internal address is used as a host.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.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.Specifies the metadata namespaces and values to insert into the downstream internal connection dynamic metadata when an internal address is used as a host.Specifies the metadata namespaces and values to insert into the downstream internal connection dynamic metadata when an internal address is used as a host.Specifies the metadata namespaces and values to insert into the downstream internal connection dynamic metadata when an internal address is used as a host.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.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Specifies the metadata namespaces and values to insert into the downstream internal connection dynamic metadata when an internal address is used as a host.The underlying transport socket being wrapped.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetPassthroughMetadata(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.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.Specifies the metadata namespaces and values to insert into the downstream internal connection dynamic metadata when an internal address is used as a host.intSpecifies the metadata namespaces and values to insert into the downstream internal connection dynamic metadata when an internal address is used as a host.Specifies the metadata namespaces and values to insert into the downstream internal connection dynamic metadata when an internal address is used as a host.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.Specifies the metadata namespaces and values to insert into the downstream internal connection dynamic metadata when an internal address is used as a host.The underlying transport socket being wrapped.The underlying transport socket being wrapped.The underlying transport socket being wrapped.booleanThe underlying transport socket being wrapped.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The underlying transport socket being wrapped.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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.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.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.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) The underlying transport socket being wrapped.setTransportSocket(TransportSocket.Builder builderForValue) The underlying transport socket being wrapped.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<InternalUpstreamTransport.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<InternalUpstreamTransport.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<InternalUpstreamTransport.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<InternalUpstreamTransport.Builder>
-
setField
public InternalUpstreamTransport.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InternalUpstreamTransport.Builder>
-
clearField
public InternalUpstreamTransport.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InternalUpstreamTransport.Builder>
-
clearOneof
public InternalUpstreamTransport.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<InternalUpstreamTransport.Builder>
-
setRepeatedField
public InternalUpstreamTransport.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InternalUpstreamTransport.Builder>
-
addRepeatedField
public InternalUpstreamTransport.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InternalUpstreamTransport.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InternalUpstreamTransport.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InternalUpstreamTransport.Builder>- Throws:
IOException
-
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:
getPassthroughMetadataListin interfaceInternalUpstreamTransportOrBuilder
-
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:
getPassthroughMetadataCountin interfaceInternalUpstreamTransportOrBuilder
-
getPassthroughMetadata
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:
getPassthroughMetadatain interfaceInternalUpstreamTransportOrBuilder
-
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
public InternalUpstreamTransport.Builder addPassthroughMetadata(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
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
public InternalUpstreamTransport.Builder addPassthroughMetadata(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
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
public InternalUpstreamTransport.Builder addAllPassthroughMetadata(Iterable<? extends InternalUpstreamTransport.MetadataValueSource> values) 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
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
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:
getPassthroughMetadataOrBuilderin interfaceInternalUpstreamTransportOrBuilder
-
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:
getPassthroughMetadataOrBuilderListin interfaceInternalUpstreamTransportOrBuilder
-
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:
hasTransportSocketin interfaceInternalUpstreamTransportOrBuilder- Returns:
- Whether the transportSocket field is set.
-
getTransportSocket
The underlying transport socket being wrapped.
.envoy.config.core.v3.TransportSocket transport_socket = 3 [(.validate.rules) = { ... }- Specified by:
getTransportSocketin interfaceInternalUpstreamTransportOrBuilder- Returns:
- The transportSocket.
-
setTransportSocket
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
The underlying transport socket being wrapped.
.envoy.config.core.v3.TransportSocket transport_socket = 3 [(.validate.rules) = { ... } -
clearTransportSocket
The underlying transport socket being wrapped.
.envoy.config.core.v3.TransportSocket transport_socket = 3 [(.validate.rules) = { ... } -
getTransportSocketBuilder
The underlying transport socket being wrapped.
.envoy.config.core.v3.TransportSocket transport_socket = 3 [(.validate.rules) = { ... } -
getTransportSocketOrBuilder
The underlying transport socket being wrapped.
.envoy.config.core.v3.TransportSocket transport_socket = 3 [(.validate.rules) = { ... }- Specified by:
getTransportSocketOrBuilderin interfaceInternalUpstreamTransportOrBuilder
-
setUnknownFields
public final InternalUpstreamTransport.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InternalUpstreamTransport.Builder>
-
mergeUnknownFields
public final InternalUpstreamTransport.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InternalUpstreamTransport.Builder>
-