Interface ThriftProtocolOptionsOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ThriftProtocolOptions, ThriftProtocolOptions.Builder

    public interface ThriftProtocolOptionsOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ProtocolType getProtocol()
      Supplies the type of protocol that the Thrift proxy should use for upstream connections.
      int getProtocolValue()
      Supplies the type of protocol that the Thrift proxy should use for upstream connections.
      TransportType getTransport()
      Supplies the type of transport that the Thrift proxy should use for upstream connections.
      int getTransportValue()
      Supplies the type of transport that the Thrift proxy should use for upstream connections.
      • 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

      • getTransportValue

        int getTransportValue()
         Supplies the type of transport that the Thrift proxy should use for upstream connections.
         Selecting
         :ref:`AUTO_TRANSPORT<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.TransportType.AUTO_TRANSPORT>`,
         which is the default, causes the proxy to use the same transport as the downstream connection.
         
        .envoy.config.filter.network.thrift_proxy.v2alpha1.TransportType transport = 1 [(.validate.rules) = { ... }
      • getTransport

        TransportType getTransport()
         Supplies the type of transport that the Thrift proxy should use for upstream connections.
         Selecting
         :ref:`AUTO_TRANSPORT<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.TransportType.AUTO_TRANSPORT>`,
         which is the default, causes the proxy to use the same transport as the downstream connection.
         
        .envoy.config.filter.network.thrift_proxy.v2alpha1.TransportType transport = 1 [(.validate.rules) = { ... }
      • getProtocolValue

        int getProtocolValue()
         Supplies the type of protocol that the Thrift proxy should use for upstream connections.
         Selecting
         :ref:`AUTO_PROTOCOL<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.ProtocolType.AUTO_PROTOCOL>`,
         which is the default, causes the proxy to use the same protocol as the downstream connection.
         
        .envoy.config.filter.network.thrift_proxy.v2alpha1.ProtocolType protocol = 2 [(.validate.rules) = { ... }
      • getProtocol

        ProtocolType getProtocol()
         Supplies the type of protocol that the Thrift proxy should use for upstream connections.
         Selecting
         :ref:`AUTO_PROTOCOL<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.ProtocolType.AUTO_PROTOCOL>`,
         which is the default, causes the proxy to use the same protocol as the downstream connection.
         
        .envoy.config.filter.network.thrift_proxy.v2alpha1.ProtocolType protocol = 2 [(.validate.rules) = { ... }