Interface RouteAction.UpgradeConfigOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
      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.
      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 hasConnectConfig()
      Configuration for sending data upstream as a raw data payload.
      boolean hasEnabled()
      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 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 [(.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

        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;
        Returns:
        The connectConfig.
      • getConnectConfigOrBuilder

        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;