Class TcpProxy

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TcpProxyOrBuilder, Serializable

    public final class TcpProxy
    extends com.google.protobuf.GeneratedMessageV3
    implements TcpProxyOrBuilder
     [#next-free-field: 15]
     
    Protobuf type envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy
    See Also:
    Serialized Form
    • Field Detail

      • STAT_PREFIX_FIELD_NUMBER

        public static final int STAT_PREFIX_FIELD_NUMBER
        See Also:
        Constant Field Values
      • WEIGHTED_CLUSTERS_FIELD_NUMBER

        public static final int WEIGHTED_CLUSTERS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • METADATA_MATCH_FIELD_NUMBER

        public static final int METADATA_MATCH_FIELD_NUMBER
        See Also:
        Constant Field Values
      • IDLE_TIMEOUT_FIELD_NUMBER

        public static final int IDLE_TIMEOUT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DOWNSTREAM_IDLE_TIMEOUT_FIELD_NUMBER

        public static final int DOWNSTREAM_IDLE_TIMEOUT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UPSTREAM_IDLE_TIMEOUT_FIELD_NUMBER

        public static final int UPSTREAM_IDLE_TIMEOUT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ACCESS_LOG_FIELD_NUMBER

        public static final int ACCESS_LOG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MAX_CONNECT_ATTEMPTS_FIELD_NUMBER

        public static final int MAX_CONNECT_ATTEMPTS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HASH_POLICY_FIELD_NUMBER

        public static final int HASH_POLICY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TUNNELING_CONFIG_FIELD_NUMBER

        public static final int TUNNELING_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MAX_DOWNSTREAM_CONNECTION_DURATION_FIELD_NUMBER

        public static final int MAX_DOWNSTREAM_CONNECTION_DURATION_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getStatPrefix

        public String getStatPrefix()
         The prefix to use when emitting :ref:`statistics
         <config_network_filters_tcp_proxy_stats>`.
         
        string stat_prefix = 1 [(.validate.rules) = { ... }
        Specified by:
        getStatPrefix in interface TcpProxyOrBuilder
        Returns:
        The statPrefix.
      • getStatPrefixBytes

        public com.google.protobuf.ByteString getStatPrefixBytes()
         The prefix to use when emitting :ref:`statistics
         <config_network_filters_tcp_proxy_stats>`.
         
        string stat_prefix = 1 [(.validate.rules) = { ... }
        Specified by:
        getStatPrefixBytes in interface TcpProxyOrBuilder
        Returns:
        The bytes for statPrefix.
      • hasCluster

        public boolean hasCluster()
         The upstream cluster to connect to.
         
        string cluster = 2;
        Specified by:
        hasCluster in interface TcpProxyOrBuilder
        Returns:
        Whether the cluster field is set.
      • getCluster

        public String getCluster()
         The upstream cluster to connect to.
         
        string cluster = 2;
        Specified by:
        getCluster in interface TcpProxyOrBuilder
        Returns:
        The cluster.
      • getClusterBytes

        public com.google.protobuf.ByteString getClusterBytes()
         The upstream cluster to connect to.
         
        string cluster = 2;
        Specified by:
        getClusterBytes in interface TcpProxyOrBuilder
        Returns:
        The bytes for cluster.
      • hasWeightedClusters

        public boolean hasWeightedClusters()
         Multiple upstream clusters can be specified for a given route. The
         request is routed to one of the upstream clusters based on weights
         assigned to each cluster.
         
        .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.WeightedCluster weighted_clusters = 10;
        Specified by:
        hasWeightedClusters in interface TcpProxyOrBuilder
        Returns:
        Whether the weightedClusters field is set.
      • getWeightedClusters

        public TcpProxy.WeightedCluster getWeightedClusters()
         Multiple upstream clusters can be specified for a given route. The
         request is routed to one of the upstream clusters based on weights
         assigned to each cluster.
         
        .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.WeightedCluster weighted_clusters = 10;
        Specified by:
        getWeightedClusters in interface TcpProxyOrBuilder
        Returns:
        The weightedClusters.
      • getWeightedClustersOrBuilder

        public TcpProxy.WeightedClusterOrBuilder getWeightedClustersOrBuilder()
         Multiple upstream clusters can be specified for a given route. The
         request is routed to one of the upstream clusters based on weights
         assigned to each cluster.
         
        .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.WeightedCluster weighted_clusters = 10;
        Specified by:
        getWeightedClustersOrBuilder in interface TcpProxyOrBuilder
      • hasOnDemand

        public boolean hasOnDemand()
         The on demand policy for the upstream cluster.
         It applies to both
         :ref:`TcpProxy.cluster <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.cluster>`
         and
         :ref:`TcpProxy.weighted_clusters <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.weighted_clusters>`.
         
        .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.OnDemand on_demand = 14;
        Specified by:
        hasOnDemand in interface TcpProxyOrBuilder
        Returns:
        Whether the onDemand field is set.
      • getOnDemand

        public TcpProxy.OnDemand getOnDemand()
         The on demand policy for the upstream cluster.
         It applies to both
         :ref:`TcpProxy.cluster <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.cluster>`
         and
         :ref:`TcpProxy.weighted_clusters <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.weighted_clusters>`.
         
        .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.OnDemand on_demand = 14;
        Specified by:
        getOnDemand in interface TcpProxyOrBuilder
        Returns:
        The onDemand.
      • getOnDemandOrBuilder

        public TcpProxy.OnDemandOrBuilder getOnDemandOrBuilder()
         The on demand policy for the upstream cluster.
         It applies to both
         :ref:`TcpProxy.cluster <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.cluster>`
         and
         :ref:`TcpProxy.weighted_clusters <envoy_v3_api_field_extensions.filters.network.tcp_proxy.v3.TcpProxy.weighted_clusters>`.
         
        .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.OnDemand on_demand = 14;
        Specified by:
        getOnDemandOrBuilder in interface TcpProxyOrBuilder
      • hasMetadataMatch

        public boolean hasMetadataMatch()
         Optional endpoint metadata match criteria. Only endpoints in the upstream
         cluster with metadata matching that set in metadata_match will be
         considered. The filter name should be specified as ``envoy.lb``.
         
        .envoy.config.core.v3.Metadata metadata_match = 9;
        Specified by:
        hasMetadataMatch in interface TcpProxyOrBuilder
        Returns:
        Whether the metadataMatch field is set.
      • getMetadataMatch

        public Metadata getMetadataMatch()
         Optional endpoint metadata match criteria. Only endpoints in the upstream
         cluster with metadata matching that set in metadata_match will be
         considered. The filter name should be specified as ``envoy.lb``.
         
        .envoy.config.core.v3.Metadata metadata_match = 9;
        Specified by:
        getMetadataMatch in interface TcpProxyOrBuilder
        Returns:
        The metadataMatch.
      • getMetadataMatchOrBuilder

        public MetadataOrBuilder getMetadataMatchOrBuilder()
         Optional endpoint metadata match criteria. Only endpoints in the upstream
         cluster with metadata matching that set in metadata_match will be
         considered. The filter name should be specified as ``envoy.lb``.
         
        .envoy.config.core.v3.Metadata metadata_match = 9;
        Specified by:
        getMetadataMatchOrBuilder in interface TcpProxyOrBuilder
      • hasIdleTimeout

        public boolean hasIdleTimeout()
         The idle timeout for connections managed by the TCP proxy filter. The idle timeout
         is defined as the period in which there are no bytes sent or received on either
         the upstream or downstream connection. If not set, the default idle timeout is 1 hour. If set
         to 0s, the timeout will be disabled.
         .. warning::
           Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
           FIN packets, etc.
         
        .google.protobuf.Duration idle_timeout = 8;
        Specified by:
        hasIdleTimeout in interface TcpProxyOrBuilder
        Returns:
        Whether the idleTimeout field is set.
      • getIdleTimeout

        public com.google.protobuf.Duration getIdleTimeout()
         The idle timeout for connections managed by the TCP proxy filter. The idle timeout
         is defined as the period in which there are no bytes sent or received on either
         the upstream or downstream connection. If not set, the default idle timeout is 1 hour. If set
         to 0s, the timeout will be disabled.
         .. warning::
           Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
           FIN packets, etc.
         
        .google.protobuf.Duration idle_timeout = 8;
        Specified by:
        getIdleTimeout in interface TcpProxyOrBuilder
        Returns:
        The idleTimeout.
      • getIdleTimeoutOrBuilder

        public com.google.protobuf.DurationOrBuilder getIdleTimeoutOrBuilder()
         The idle timeout for connections managed by the TCP proxy filter. The idle timeout
         is defined as the period in which there are no bytes sent or received on either
         the upstream or downstream connection. If not set, the default idle timeout is 1 hour. If set
         to 0s, the timeout will be disabled.
         .. warning::
           Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
           FIN packets, etc.
         
        .google.protobuf.Duration idle_timeout = 8;
        Specified by:
        getIdleTimeoutOrBuilder in interface TcpProxyOrBuilder
      • hasDownstreamIdleTimeout

        public boolean hasDownstreamIdleTimeout()
         [#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy
         filter. The idle timeout is defined as the period in which there is no
         active traffic. If not set, there is no idle timeout. When the idle timeout
         is reached the connection will be closed. The distinction between
         downstream_idle_timeout/upstream_idle_timeout provides a means to set
         timeout based on the last byte sent on the downstream/upstream connection.
         
        .google.protobuf.Duration downstream_idle_timeout = 3;
        Specified by:
        hasDownstreamIdleTimeout in interface TcpProxyOrBuilder
        Returns:
        Whether the downstreamIdleTimeout field is set.
      • getDownstreamIdleTimeout

        public com.google.protobuf.Duration getDownstreamIdleTimeout()
         [#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy
         filter. The idle timeout is defined as the period in which there is no
         active traffic. If not set, there is no idle timeout. When the idle timeout
         is reached the connection will be closed. The distinction between
         downstream_idle_timeout/upstream_idle_timeout provides a means to set
         timeout based on the last byte sent on the downstream/upstream connection.
         
        .google.protobuf.Duration downstream_idle_timeout = 3;
        Specified by:
        getDownstreamIdleTimeout in interface TcpProxyOrBuilder
        Returns:
        The downstreamIdleTimeout.
      • getDownstreamIdleTimeoutOrBuilder

        public com.google.protobuf.DurationOrBuilder getDownstreamIdleTimeoutOrBuilder()
         [#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy
         filter. The idle timeout is defined as the period in which there is no
         active traffic. If not set, there is no idle timeout. When the idle timeout
         is reached the connection will be closed. The distinction between
         downstream_idle_timeout/upstream_idle_timeout provides a means to set
         timeout based on the last byte sent on the downstream/upstream connection.
         
        .google.protobuf.Duration downstream_idle_timeout = 3;
        Specified by:
        getDownstreamIdleTimeoutOrBuilder in interface TcpProxyOrBuilder
      • hasUpstreamIdleTimeout

        public boolean hasUpstreamIdleTimeout()
         [#not-implemented-hide:]
         
        .google.protobuf.Duration upstream_idle_timeout = 4;
        Specified by:
        hasUpstreamIdleTimeout in interface TcpProxyOrBuilder
        Returns:
        Whether the upstreamIdleTimeout field is set.
      • getUpstreamIdleTimeout

        public com.google.protobuf.Duration getUpstreamIdleTimeout()
         [#not-implemented-hide:]
         
        .google.protobuf.Duration upstream_idle_timeout = 4;
        Specified by:
        getUpstreamIdleTimeout in interface TcpProxyOrBuilder
        Returns:
        The upstreamIdleTimeout.
      • getUpstreamIdleTimeoutOrBuilder

        public com.google.protobuf.DurationOrBuilder getUpstreamIdleTimeoutOrBuilder()
         [#not-implemented-hide:]
         
        .google.protobuf.Duration upstream_idle_timeout = 4;
        Specified by:
        getUpstreamIdleTimeoutOrBuilder in interface TcpProxyOrBuilder
      • getAccessLogList

        public List<AccessLog> getAccessLogList()
         Configuration for :ref:`access logs <arch_overview_access_logs>`
         emitted by the this tcp_proxy.
         
        repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
        Specified by:
        getAccessLogList in interface TcpProxyOrBuilder
      • getAccessLogOrBuilderList

        public List<? extends AccessLogOrBuilder> getAccessLogOrBuilderList()
         Configuration for :ref:`access logs <arch_overview_access_logs>`
         emitted by the this tcp_proxy.
         
        repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
        Specified by:
        getAccessLogOrBuilderList in interface TcpProxyOrBuilder
      • getAccessLogCount

        public int getAccessLogCount()
         Configuration for :ref:`access logs <arch_overview_access_logs>`
         emitted by the this tcp_proxy.
         
        repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
        Specified by:
        getAccessLogCount in interface TcpProxyOrBuilder
      • getAccessLog

        public AccessLog getAccessLog​(int index)
         Configuration for :ref:`access logs <arch_overview_access_logs>`
         emitted by the this tcp_proxy.
         
        repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
        Specified by:
        getAccessLog in interface TcpProxyOrBuilder
      • getAccessLogOrBuilder

        public AccessLogOrBuilder getAccessLogOrBuilder​(int index)
         Configuration for :ref:`access logs <arch_overview_access_logs>`
         emitted by the this tcp_proxy.
         
        repeated .envoy.config.accesslog.v3.AccessLog access_log = 5;
        Specified by:
        getAccessLogOrBuilder in interface TcpProxyOrBuilder
      • hasMaxConnectAttempts

        public boolean hasMaxConnectAttempts()
         The maximum number of unsuccessful connection attempts that will be made before
         giving up. If the parameter is not specified, 1 connection attempt will be made.
         
        .google.protobuf.UInt32Value max_connect_attempts = 7 [(.validate.rules) = { ... }
        Specified by:
        hasMaxConnectAttempts in interface TcpProxyOrBuilder
        Returns:
        Whether the maxConnectAttempts field is set.
      • getMaxConnectAttempts

        public com.google.protobuf.UInt32Value getMaxConnectAttempts()
         The maximum number of unsuccessful connection attempts that will be made before
         giving up. If the parameter is not specified, 1 connection attempt will be made.
         
        .google.protobuf.UInt32Value max_connect_attempts = 7 [(.validate.rules) = { ... }
        Specified by:
        getMaxConnectAttempts in interface TcpProxyOrBuilder
        Returns:
        The maxConnectAttempts.
      • getMaxConnectAttemptsOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getMaxConnectAttemptsOrBuilder()
         The maximum number of unsuccessful connection attempts that will be made before
         giving up. If the parameter is not specified, 1 connection attempt will be made.
         
        .google.protobuf.UInt32Value max_connect_attempts = 7 [(.validate.rules) = { ... }
        Specified by:
        getMaxConnectAttemptsOrBuilder in interface TcpProxyOrBuilder
      • getHashPolicyList

        public List<HashPolicy> getHashPolicyList()
         Optional configuration for TCP proxy hash policy. If hash_policy is not set, the hash-based
         load balancing algorithms will select a host randomly. Currently the number of hash policies is
         limited to 1.
         
        repeated .envoy.type.v3.HashPolicy hash_policy = 11 [(.validate.rules) = { ... }
        Specified by:
        getHashPolicyList in interface TcpProxyOrBuilder
      • getHashPolicyOrBuilderList

        public List<? extends HashPolicyOrBuilder> getHashPolicyOrBuilderList()
         Optional configuration for TCP proxy hash policy. If hash_policy is not set, the hash-based
         load balancing algorithms will select a host randomly. Currently the number of hash policies is
         limited to 1.
         
        repeated .envoy.type.v3.HashPolicy hash_policy = 11 [(.validate.rules) = { ... }
        Specified by:
        getHashPolicyOrBuilderList in interface TcpProxyOrBuilder
      • getHashPolicyCount

        public int getHashPolicyCount()
         Optional configuration for TCP proxy hash policy. If hash_policy is not set, the hash-based
         load balancing algorithms will select a host randomly. Currently the number of hash policies is
         limited to 1.
         
        repeated .envoy.type.v3.HashPolicy hash_policy = 11 [(.validate.rules) = { ... }
        Specified by:
        getHashPolicyCount in interface TcpProxyOrBuilder
      • getHashPolicy

        public HashPolicy getHashPolicy​(int index)
         Optional configuration for TCP proxy hash policy. If hash_policy is not set, the hash-based
         load balancing algorithms will select a host randomly. Currently the number of hash policies is
         limited to 1.
         
        repeated .envoy.type.v3.HashPolicy hash_policy = 11 [(.validate.rules) = { ... }
        Specified by:
        getHashPolicy in interface TcpProxyOrBuilder
      • getHashPolicyOrBuilder

        public HashPolicyOrBuilder getHashPolicyOrBuilder​(int index)
         Optional configuration for TCP proxy hash policy. If hash_policy is not set, the hash-based
         load balancing algorithms will select a host randomly. Currently the number of hash policies is
         limited to 1.
         
        repeated .envoy.type.v3.HashPolicy hash_policy = 11 [(.validate.rules) = { ... }
        Specified by:
        getHashPolicyOrBuilder in interface TcpProxyOrBuilder
      • hasTunnelingConfig

        public boolean hasTunnelingConfig()
         If set, this configures tunneling, e.g. configuration options to tunnel TCP payload over
         HTTP CONNECT. If this message is absent, the payload will be proxied upstream as per usual.
         
        .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TunnelingConfig tunneling_config = 12;
        Specified by:
        hasTunnelingConfig in interface TcpProxyOrBuilder
        Returns:
        Whether the tunnelingConfig field is set.
      • getTunnelingConfig

        public TcpProxy.TunnelingConfig getTunnelingConfig()
         If set, this configures tunneling, e.g. configuration options to tunnel TCP payload over
         HTTP CONNECT. If this message is absent, the payload will be proxied upstream as per usual.
         
        .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TunnelingConfig tunneling_config = 12;
        Specified by:
        getTunnelingConfig in interface TcpProxyOrBuilder
        Returns:
        The tunnelingConfig.
      • getTunnelingConfigOrBuilder

        public TcpProxy.TunnelingConfigOrBuilder getTunnelingConfigOrBuilder()
         If set, this configures tunneling, e.g. configuration options to tunnel TCP payload over
         HTTP CONNECT. If this message is absent, the payload will be proxied upstream as per usual.
         
        .envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TunnelingConfig tunneling_config = 12;
        Specified by:
        getTunnelingConfigOrBuilder in interface TcpProxyOrBuilder
      • hasMaxDownstreamConnectionDuration

        public boolean hasMaxDownstreamConnectionDuration()
         The maximum duration of a connection. The duration is defined as the period since a connection
         was established. If not set, there is no max duration. When max_downstream_connection_duration
         is reached the connection will be closed. Duration must be at least 1ms.
         
        .google.protobuf.Duration max_downstream_connection_duration = 13 [(.validate.rules) = { ... }
        Specified by:
        hasMaxDownstreamConnectionDuration in interface TcpProxyOrBuilder
        Returns:
        Whether the maxDownstreamConnectionDuration field is set.
      • getMaxDownstreamConnectionDuration

        public com.google.protobuf.Duration getMaxDownstreamConnectionDuration()
         The maximum duration of a connection. The duration is defined as the period since a connection
         was established. If not set, there is no max duration. When max_downstream_connection_duration
         is reached the connection will be closed. Duration must be at least 1ms.
         
        .google.protobuf.Duration max_downstream_connection_duration = 13 [(.validate.rules) = { ... }
        Specified by:
        getMaxDownstreamConnectionDuration in interface TcpProxyOrBuilder
        Returns:
        The maxDownstreamConnectionDuration.
      • getMaxDownstreamConnectionDurationOrBuilder

        public com.google.protobuf.DurationOrBuilder getMaxDownstreamConnectionDurationOrBuilder()
         The maximum duration of a connection. The duration is defined as the period since a connection
         was established. If not set, there is no max duration. When max_downstream_connection_duration
         is reached the connection will be closed. Duration must be at least 1ms.
         
        .google.protobuf.Duration max_downstream_connection_duration = 13 [(.validate.rules) = { ... }
        Specified by:
        getMaxDownstreamConnectionDurationOrBuilder in interface TcpProxyOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static TcpProxy parseFrom​(ByteBuffer data)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TcpProxy parseFrom​(ByteBuffer data,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TcpProxy parseFrom​(com.google.protobuf.ByteString data)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TcpProxy parseFrom​(com.google.protobuf.ByteString data,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TcpProxy parseFrom​(byte[] data)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TcpProxy parseFrom​(byte[] data,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TcpProxy parseFrom​(com.google.protobuf.CodedInputStream input,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws IOException
        Throws:
        IOException
      • newBuilderForType

        public TcpProxy.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public TcpProxy.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected TcpProxy.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static TcpProxy getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<TcpProxy> parser()
      • getParserForType

        public com.google.protobuf.Parser<TcpProxy> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public TcpProxy getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder