Interface ThriftOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getMethodName()
      Specifies the method name that will be set on each health check request dispatched to an upstream host.
      com.google.protobuf.ByteString getMethodNameBytes()
      Specifies the method name that will be set on each health check request dispatched to an upstream host.
      ProtocolType getProtocol()
      Configures the protocol type to be used with the health checks.
      int getProtocolValue()
      Configures the protocol type to be used with the health checks.
      TransportType getTransport()
      Configures the transport type to be used with the health checks.
      int getTransportValue()
      Configures the transport type to be used with the health checks.
      • 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

      • getMethodName

        java.lang.String getMethodName()
         Specifies the method name that will be set on each health check request dispatched to an upstream host.
         Note that method name is case sensitive.
         
        string method_name = 1 [(.validate.rules) = { ... }
        Returns:
        The methodName.
      • getMethodNameBytes

        com.google.protobuf.ByteString getMethodNameBytes()
         Specifies the method name that will be set on each health check request dispatched to an upstream host.
         Note that method name is case sensitive.
         
        string method_name = 1 [(.validate.rules) = { ... }
        Returns:
        The bytes for methodName.
      • getTransportValue

        int getTransportValue()
         Configures the transport type to be used with the health checks. Note that
         :ref:`AUTO_TRANSPORT<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.TransportType.AUTO_TRANSPORT>`
         is not supported, and we don't honor :ref:`ThriftProtocolOptions<envoy_v3_api_msg_extensions.filters.network.thrift_proxy.v3.ThriftProtocolOptions>`
         since it's possible to set to :ref:`AUTO_TRANSPORT<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.TransportType.AUTO_TRANSPORT>`.
         [#extension-category: envoy.filters.network]
         
        .envoy.extensions.filters.network.thrift_proxy.v3.TransportType transport = 2 [(.validate.rules) = { ... }
        Returns:
        The enum numeric value on the wire for transport.
      • getTransport

        TransportType getTransport()
         Configures the transport type to be used with the health checks. Note that
         :ref:`AUTO_TRANSPORT<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.TransportType.AUTO_TRANSPORT>`
         is not supported, and we don't honor :ref:`ThriftProtocolOptions<envoy_v3_api_msg_extensions.filters.network.thrift_proxy.v3.ThriftProtocolOptions>`
         since it's possible to set to :ref:`AUTO_TRANSPORT<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.TransportType.AUTO_TRANSPORT>`.
         [#extension-category: envoy.filters.network]
         
        .envoy.extensions.filters.network.thrift_proxy.v3.TransportType transport = 2 [(.validate.rules) = { ... }
        Returns:
        The transport.
      • getProtocolValue

        int getProtocolValue()
         Configures the protocol type to be used with the health checks. Note that
         :ref:`AUTO_PROTOCOL<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.AUTO_PROTOCOL>`
         and :ref:`TWITTER<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.TWITTER>`
         are not supported, and we don't honor :ref:`ThriftProtocolOptions<envoy_v3_api_msg_extensions.filters.network.thrift_proxy.v3.ThriftProtocolOptions>`
         since it's possible to set to :ref:`AUTO_PROTOCOL<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.AUTO_PROTOCOL>`
         or :ref:`TWITTER<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.TWITTER>`.
         
        .envoy.extensions.filters.network.thrift_proxy.v3.ProtocolType protocol = 3 [(.validate.rules) = { ... }
        Returns:
        The enum numeric value on the wire for protocol.
      • getProtocol

        ProtocolType getProtocol()
         Configures the protocol type to be used with the health checks. Note that
         :ref:`AUTO_PROTOCOL<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.AUTO_PROTOCOL>`
         and :ref:`TWITTER<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.TWITTER>`
         are not supported, and we don't honor :ref:`ThriftProtocolOptions<envoy_v3_api_msg_extensions.filters.network.thrift_proxy.v3.ThriftProtocolOptions>`
         since it's possible to set to :ref:`AUTO_PROTOCOL<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.AUTO_PROTOCOL>`
         or :ref:`TWITTER<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.TWITTER>`.
         
        .envoy.extensions.filters.network.thrift_proxy.v3.ProtocolType protocol = 3 [(.validate.rules) = { ... }
        Returns:
        The protocol.