Interface HttpConnectionManager.UpgradeConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HttpConnectionManager.UpgradeConfig
,HttpConnectionManager.UpgradeConfig.Builder
- Enclosing class:
- HttpConnectionManager
public static interface HttpConnectionManager.UpgradeConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.BoolValue
getEnabled()
Determines if upgrades are enabled or disabled by default.com.google.protobuf.BoolValueOrBuilder
getEnabledOrBuilder()
Determines if upgrades are enabled or disabled by default.HttpFilter
getFilters(int index)
If present, this represents the filter chain which will be created for this type of upgrade.int
getFiltersCount()
If present, this represents the filter chain which will be created for this type of upgrade.java.util.List<HttpFilter>
getFiltersList()
If present, this represents the filter chain which will be created for this type of upgrade.HttpFilterOrBuilder
getFiltersOrBuilder(int index)
If present, this represents the filter chain which will be created for this type of upgrade.java.util.List<? extends HttpFilterOrBuilder>
getFiltersOrBuilderList()
If present, this represents the filter chain which will be created for this type of upgrade.java.lang.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
hasEnabled()
Determines if upgrades are enabled or disabled by default.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getUpgradeType
java.lang.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;
- Returns:
- The upgradeType.
-
getUpgradeTypeBytes
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;
- Returns:
- The bytes for upgradeType.
-
getFiltersList
java.util.List<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.extensions.filters.network.http_connection_manager.v3.HttpFilter filters = 2;
-
getFilters
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.extensions.filters.network.http_connection_manager.v3.HttpFilter filters = 2;
-
getFiltersCount
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.extensions.filters.network.http_connection_manager.v3.HttpFilter filters = 2;
-
getFiltersOrBuilderList
java.util.List<? extends 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.extensions.filters.network.http_connection_manager.v3.HttpFilter filters = 2;
-
getFiltersOrBuilder
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.extensions.filters.network.http_connection_manager.v3.HttpFilter filters = 2;
-
hasEnabled
boolean hasEnabled()
Determines if upgrades are enabled or disabled by default. Defaults to true. This can be overridden on a per-route basis with :ref:`cluster <envoy_v3_api_field_config.route.v3.RouteAction.upgrade_configs>` as documented in the :ref:`upgrade documentation <arch_overview_upgrades>`.
.google.protobuf.BoolValue enabled = 3;
- Returns:
- Whether the enabled field is set.
-
getEnabled
com.google.protobuf.BoolValue getEnabled()
Determines if upgrades are enabled or disabled by default. Defaults to true. This can be overridden on a per-route basis with :ref:`cluster <envoy_v3_api_field_config.route.v3.RouteAction.upgrade_configs>` as documented in the :ref:`upgrade documentation <arch_overview_upgrades>`.
.google.protobuf.BoolValue enabled = 3;
- Returns:
- The enabled.
-
getEnabledOrBuilder
com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder()
Determines if upgrades are enabled or disabled by default. Defaults to true. This can be overridden on a per-route basis with :ref:`cluster <envoy_v3_api_field_config.route.v3.RouteAction.upgrade_configs>` as documented in the :ref:`upgrade documentation <arch_overview_upgrades>`.
.google.protobuf.BoolValue enabled = 3;
-
-