public static final class HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder> implements HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfigOrBuilder
The configuration for HTTP upgrades.
For each upgrade type desired, an UpgradeConfig must be added.
.. warning::
The current implementation of upgrade headers does not handle
multi-valued upgrade headers. Support for multi-valued headers may be
added in the future if needed.
.. warning::
The current implementation of upgrade headers does not work with HTTP/2
upstreams.
Protobuf type envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager.UpgradeConfiggetAllFields, 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<HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder>public HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.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<HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder>public HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder>public HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.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<HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder>public HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder>public HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder>public HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.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<HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder>public HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.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<HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder>public HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder>public HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder mergeFrom(HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder>public HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.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<HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder>IOExceptionpublic String getUpgradeType()
The case-insensitive name of this upgrade, e.g. "websocket". For each upgrade type present in upgrade_configs, requests with Upgrade: [upgrade_type] will be proxied upstream.
string upgrade_type = 1;getUpgradeType in interface HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfigOrBuilderpublic com.google.protobuf.ByteString getUpgradeTypeBytes()
The case-insensitive name of this upgrade, e.g. "websocket". For each upgrade type present in upgrade_configs, requests with Upgrade: [upgrade_type] will be proxied upstream.
string upgrade_type = 1;getUpgradeTypeBytes in interface HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfigOrBuilderpublic HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder setUpgradeType(String value)
The case-insensitive name of this upgrade, e.g. "websocket". For each upgrade type present in upgrade_configs, requests with Upgrade: [upgrade_type] will be proxied upstream.
string upgrade_type = 1;public HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder clearUpgradeType()
The case-insensitive name of this upgrade, e.g. "websocket". For each upgrade type present in upgrade_configs, requests with Upgrade: [upgrade_type] will be proxied upstream.
string upgrade_type = 1;public HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder setUpgradeTypeBytes(com.google.protobuf.ByteString value)
The case-insensitive name of this upgrade, e.g. "websocket". For each upgrade type present in upgrade_configs, requests with Upgrade: [upgrade_type] will be proxied upstream.
string upgrade_type = 1;public List<HttpConnectionManagerOuterClass.HttpFilter> getFiltersList()
If present, this represents the filter chain which will be created for this type of upgrade. If no filters are present, the filter chain for HTTP connections will be used for this upgrade type.
repeated .envoy.config.filter.network.http_connection_manager.v2.HttpFilter filters = 2;getFiltersList in interface HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfigOrBuilderpublic int getFiltersCount()
If present, this represents the filter chain which will be created for this type of upgrade. If no filters are present, the filter chain for HTTP connections will be used for this upgrade type.
repeated .envoy.config.filter.network.http_connection_manager.v2.HttpFilter filters = 2;getFiltersCount in interface HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfigOrBuilderpublic HttpConnectionManagerOuterClass.HttpFilter getFilters(int index)
If present, this represents the filter chain which will be created for this type of upgrade. If no filters are present, the filter chain for HTTP connections will be used for this upgrade type.
repeated .envoy.config.filter.network.http_connection_manager.v2.HttpFilter filters = 2;getFilters in interface HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfigOrBuilderpublic HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder setFilters(int index, HttpConnectionManagerOuterClass.HttpFilter value)
If present, this represents the filter chain which will be created for this type of upgrade. If no filters are present, the filter chain for HTTP connections will be used for this upgrade type.
repeated .envoy.config.filter.network.http_connection_manager.v2.HttpFilter filters = 2;public HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder setFilters(int index, HttpConnectionManagerOuterClass.HttpFilter.Builder builderForValue)
If present, this represents the filter chain which will be created for this type of upgrade. If no filters are present, the filter chain for HTTP connections will be used for this upgrade type.
repeated .envoy.config.filter.network.http_connection_manager.v2.HttpFilter filters = 2;public HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder addFilters(HttpConnectionManagerOuterClass.HttpFilter value)
If present, this represents the filter chain which will be created for this type of upgrade. If no filters are present, the filter chain for HTTP connections will be used for this upgrade type.
repeated .envoy.config.filter.network.http_connection_manager.v2.HttpFilter filters = 2;public HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder addFilters(int index, HttpConnectionManagerOuterClass.HttpFilter value)
If present, this represents the filter chain which will be created for this type of upgrade. If no filters are present, the filter chain for HTTP connections will be used for this upgrade type.
repeated .envoy.config.filter.network.http_connection_manager.v2.HttpFilter filters = 2;public HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder addFilters(HttpConnectionManagerOuterClass.HttpFilter.Builder builderForValue)
If present, this represents the filter chain which will be created for this type of upgrade. If no filters are present, the filter chain for HTTP connections will be used for this upgrade type.
repeated .envoy.config.filter.network.http_connection_manager.v2.HttpFilter filters = 2;public HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder addFilters(int index, HttpConnectionManagerOuterClass.HttpFilter.Builder builderForValue)
If present, this represents the filter chain which will be created for this type of upgrade. If no filters are present, the filter chain for HTTP connections will be used for this upgrade type.
repeated .envoy.config.filter.network.http_connection_manager.v2.HttpFilter filters = 2;public HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder addAllFilters(Iterable<? extends HttpConnectionManagerOuterClass.HttpFilter> values)
If present, this represents the filter chain which will be created for this type of upgrade. If no filters are present, the filter chain for HTTP connections will be used for this upgrade type.
repeated .envoy.config.filter.network.http_connection_manager.v2.HttpFilter filters = 2;public HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder clearFilters()
If present, this represents the filter chain which will be created for this type of upgrade. If no filters are present, the filter chain for HTTP connections will be used for this upgrade type.
repeated .envoy.config.filter.network.http_connection_manager.v2.HttpFilter filters = 2;public HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder removeFilters(int index)
If present, this represents the filter chain which will be created for this type of upgrade. If no filters are present, the filter chain for HTTP connections will be used for this upgrade type.
repeated .envoy.config.filter.network.http_connection_manager.v2.HttpFilter filters = 2;public HttpConnectionManagerOuterClass.HttpFilter.Builder getFiltersBuilder(int index)
If present, this represents the filter chain which will be created for this type of upgrade. If no filters are present, the filter chain for HTTP connections will be used for this upgrade type.
repeated .envoy.config.filter.network.http_connection_manager.v2.HttpFilter filters = 2;public HttpConnectionManagerOuterClass.HttpFilterOrBuilder getFiltersOrBuilder(int index)
If present, this represents the filter chain which will be created for this type of upgrade. If no filters are present, the filter chain for HTTP connections will be used for this upgrade type.
repeated .envoy.config.filter.network.http_connection_manager.v2.HttpFilter filters = 2;getFiltersOrBuilder in interface HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfigOrBuilderpublic List<? extends HttpConnectionManagerOuterClass.HttpFilterOrBuilder> getFiltersOrBuilderList()
If present, this represents the filter chain which will be created for this type of upgrade. If no filters are present, the filter chain for HTTP connections will be used for this upgrade type.
repeated .envoy.config.filter.network.http_connection_manager.v2.HttpFilter filters = 2;getFiltersOrBuilderList in interface HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfigOrBuilderpublic HttpConnectionManagerOuterClass.HttpFilter.Builder addFiltersBuilder()
If present, this represents the filter chain which will be created for this type of upgrade. If no filters are present, the filter chain for HTTP connections will be used for this upgrade type.
repeated .envoy.config.filter.network.http_connection_manager.v2.HttpFilter filters = 2;public HttpConnectionManagerOuterClass.HttpFilter.Builder addFiltersBuilder(int index)
If present, this represents the filter chain which will be created for this type of upgrade. If no filters are present, the filter chain for HTTP connections will be used for this upgrade type.
repeated .envoy.config.filter.network.http_connection_manager.v2.HttpFilter filters = 2;public List<HttpConnectionManagerOuterClass.HttpFilter.Builder> getFiltersBuilderList()
If present, this represents the filter chain which will be created for this type of upgrade. If no filters are present, the filter chain for HTTP connections will be used for this upgrade type.
repeated .envoy.config.filter.network.http_connection_manager.v2.HttpFilter filters = 2;public final HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder>public final HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpConnectionManagerOuterClass.HttpConnectionManager.UpgradeConfig.Builder>Copyright © 2018 The Envoy Project. All rights reserved.