public static final class RouteAction.UpgradeConfig extends com.google.protobuf.GeneratedMessageV3 implements RouteAction.UpgradeConfigOrBuilder
Allows enabling and disabling upgrades on a per-route basis. This overrides any enabled/disabled upgrade filter chain specified in the HttpConnectionManager :ref:`upgrade_configs <envoy_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.upgrade_configs>` but does not affect any custom filter chain specified there.Protobuf type
envoy.config.route.v3.RouteAction.UpgradeConfig| Modifier and Type | Class and Description |
|---|---|
static class |
RouteAction.UpgradeConfig.Builder
Allows enabling and disabling upgrades on a per-route basis.
|
static class |
RouteAction.UpgradeConfig.ConnectConfig
Configuration for sending data upstream as a raw data payload.
|
static interface |
RouteAction.UpgradeConfig.ConnectConfigOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONNECT_CONFIG_FIELD_NUMBER |
static int |
ENABLED_FIELD_NUMBER |
static int |
UPGRADE_TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
RouteAction.UpgradeConfig.ConnectConfig |
getConnectConfig()
Configuration for sending data upstream as a raw data payload.
|
RouteAction.UpgradeConfig.ConnectConfigOrBuilder |
getConnectConfigOrBuilder()
Configuration for sending data upstream as a raw data payload.
|
static RouteAction.UpgradeConfig |
getDefaultInstance() |
RouteAction.UpgradeConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.BoolValue |
getEnabled()
Determines if upgrades are available on this route.
|
com.google.protobuf.BoolValueOrBuilder |
getEnabledOrBuilder()
Determines if upgrades are available on this route.
|
com.google.protobuf.Parser<RouteAction.UpgradeConfig> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getUpgradeType()
The case-insensitive name of this upgrade, e.g.
|
com.google.protobuf.ByteString |
getUpgradeTypeBytes()
The case-insensitive name of this upgrade, e.g.
|
boolean |
hasConnectConfig()
Configuration for sending data upstream as a raw data payload.
|
boolean |
hasEnabled()
Determines if upgrades are available on this route.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RouteAction.UpgradeConfig.Builder |
newBuilder() |
static RouteAction.UpgradeConfig.Builder |
newBuilder(RouteAction.UpgradeConfig prototype) |
RouteAction.UpgradeConfig.Builder |
newBuilderForType() |
protected RouteAction.UpgradeConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RouteAction.UpgradeConfig |
parseDelimitedFrom(InputStream input) |
static RouteAction.UpgradeConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteAction.UpgradeConfig |
parseFrom(byte[] data) |
static RouteAction.UpgradeConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteAction.UpgradeConfig |
parseFrom(ByteBuffer data) |
static RouteAction.UpgradeConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteAction.UpgradeConfig |
parseFrom(com.google.protobuf.ByteString data) |
static RouteAction.UpgradeConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteAction.UpgradeConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RouteAction.UpgradeConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteAction.UpgradeConfig |
parseFrom(InputStream input) |
static RouteAction.UpgradeConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RouteAction.UpgradeConfig> |
parser() |
RouteAction.UpgradeConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int UPGRADE_TYPE_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER
public static final int CONNECT_CONFIG_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 [(.validate.rules) = { ... }getUpgradeType in interface RouteAction.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 [(.validate.rules) = { ... }getUpgradeTypeBytes in interface RouteAction.UpgradeConfigOrBuilderpublic boolean hasEnabled()
Determines if upgrades are available on this route. Defaults to true.
.google.protobuf.BoolValue enabled = 2;hasEnabled in interface RouteAction.UpgradeConfigOrBuilderpublic com.google.protobuf.BoolValue getEnabled()
Determines if upgrades are available on this route. Defaults to true.
.google.protobuf.BoolValue enabled = 2;getEnabled in interface RouteAction.UpgradeConfigOrBuilderpublic com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder()
Determines if upgrades are available on this route. Defaults to true.
.google.protobuf.BoolValue enabled = 2;getEnabledOrBuilder in interface RouteAction.UpgradeConfigOrBuilderpublic boolean hasConnectConfig()
Configuration for sending data upstream as a raw data payload. This is used for CONNECT requests, when forwarding CONNECT payload as raw TCP. Note that CONNECT support is currently considered alpha in Envoy. [#comment:TODO(htuch): Replace the above comment with an alpha tag.
.envoy.config.route.v3.RouteAction.UpgradeConfig.ConnectConfig connect_config = 3;hasConnectConfig in interface RouteAction.UpgradeConfigOrBuilderpublic RouteAction.UpgradeConfig.ConnectConfig getConnectConfig()
Configuration for sending data upstream as a raw data payload. This is used for CONNECT requests, when forwarding CONNECT payload as raw TCP. Note that CONNECT support is currently considered alpha in Envoy. [#comment:TODO(htuch): Replace the above comment with an alpha tag.
.envoy.config.route.v3.RouteAction.UpgradeConfig.ConnectConfig connect_config = 3;getConnectConfig in interface RouteAction.UpgradeConfigOrBuilderpublic RouteAction.UpgradeConfig.ConnectConfigOrBuilder getConnectConfigOrBuilder()
Configuration for sending data upstream as a raw data payload. This is used for CONNECT requests, when forwarding CONNECT payload as raw TCP. Note that CONNECT support is currently considered alpha in Envoy. [#comment:TODO(htuch): Replace the above comment with an alpha tag.
.envoy.config.route.v3.RouteAction.UpgradeConfig.ConnectConfig connect_config = 3;getConnectConfigOrBuilder in interface RouteAction.UpgradeConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RouteAction.UpgradeConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteAction.UpgradeConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteAction.UpgradeConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteAction.UpgradeConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteAction.UpgradeConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteAction.UpgradeConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteAction.UpgradeConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static RouteAction.UpgradeConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteAction.UpgradeConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RouteAction.UpgradeConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteAction.UpgradeConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RouteAction.UpgradeConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RouteAction.UpgradeConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RouteAction.UpgradeConfig.Builder newBuilder()
public static RouteAction.UpgradeConfig.Builder newBuilder(RouteAction.UpgradeConfig prototype)
public RouteAction.UpgradeConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RouteAction.UpgradeConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RouteAction.UpgradeConfig getDefaultInstance()
public static com.google.protobuf.Parser<RouteAction.UpgradeConfig> parser()
public com.google.protobuf.Parser<RouteAction.UpgradeConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RouteAction.UpgradeConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.