Interface RouteAction.UpgradeConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RouteAction.UpgradeConfig, RouteAction.UpgradeConfig.Builder
Enclosing class:
RouteAction

public static interface RouteAction.UpgradeConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Configuration for sending data upstream as a raw data payload.
    Configuration for sending data upstream as a raw data payload.
    com.google.protobuf.BoolValue
    Determines if upgrades are available on this route.
    com.google.protobuf.BoolValueOrBuilder
    Determines if upgrades are available on this route.
    The case-insensitive name of this upgrade, e.g.
    com.google.protobuf.ByteString
    The case-insensitive name of this upgrade, e.g.
    boolean
    Configuration for sending data upstream as a raw data payload.
    boolean
    Determines if upgrades are available on this route.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getUpgradeType

      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) = { ... }
      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 [(.validate.rules) = { ... }
      Returns:
      The bytes for upgradeType.
    • hasEnabled

      boolean hasEnabled()
       Determines if upgrades are available on this route. Defaults to true.
       
      .google.protobuf.BoolValue enabled = 2;
      Returns:
      Whether the enabled field is set.
    • getEnabled

      com.google.protobuf.BoolValue getEnabled()
       Determines if upgrades are available on this route. Defaults to true.
       
      .google.protobuf.BoolValue enabled = 2;
      Returns:
      The enabled.
    • getEnabledOrBuilder

      com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder()
       Determines if upgrades are available on this route. Defaults to true.
       
      .google.protobuf.BoolValue enabled = 2;
    • hasConnectConfig

      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;
      Returns:
      Whether the connectConfig field is set.
    • 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;
      Returns:
      The connectConfig.
    • 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;