Class HealthCheck.TcpHealthCheck

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, HealthCheck.TcpHealthCheckOrBuilder, java.io.Serializable
    Enclosing class:
    HealthCheck

    public static final class HealthCheck.TcpHealthCheck
    extends com.google.protobuf.GeneratedMessage
    implements HealthCheck.TcpHealthCheckOrBuilder
    Protobuf type envoy.config.core.v3.HealthCheck.TcpHealthCheck
    See Also:
    Serialized Form
    • Constructor Detail

      • TcpHealthCheck

        private TcpHealthCheck​(com.google.protobuf.GeneratedMessage.Builder<?> builder)
      • TcpHealthCheck

        private TcpHealthCheck()
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
      • hasSend

        public boolean hasSend()
         Empty payloads imply a connect-only health check.
         
        .envoy.config.core.v3.HealthCheck.Payload send = 1;
        Specified by:
        hasSend in interface HealthCheck.TcpHealthCheckOrBuilder
        Returns:
        Whether the send field is set.
      • getReceiveList

        public java.util.List<HealthCheck.Payload> getReceiveList()
         When checking the response, “fuzzy” matching is performed such that each
         payload block must be found, and in the order specified, but not
         necessarily contiguous.
         
        repeated .envoy.config.core.v3.HealthCheck.Payload receive = 2;
        Specified by:
        getReceiveList in interface HealthCheck.TcpHealthCheckOrBuilder
      • getReceiveOrBuilderList

        public java.util.List<? extends HealthCheck.PayloadOrBuilder> getReceiveOrBuilderList()
         When checking the response, “fuzzy” matching is performed such that each
         payload block must be found, and in the order specified, but not
         necessarily contiguous.
         
        repeated .envoy.config.core.v3.HealthCheck.Payload receive = 2;
        Specified by:
        getReceiveOrBuilderList in interface HealthCheck.TcpHealthCheckOrBuilder
      • getReceiveCount

        public int getReceiveCount()
         When checking the response, “fuzzy” matching is performed such that each
         payload block must be found, and in the order specified, but not
         necessarily contiguous.
         
        repeated .envoy.config.core.v3.HealthCheck.Payload receive = 2;
        Specified by:
        getReceiveCount in interface HealthCheck.TcpHealthCheckOrBuilder
      • getReceive

        public HealthCheck.Payload getReceive​(int index)
         When checking the response, “fuzzy” matching is performed such that each
         payload block must be found, and in the order specified, but not
         necessarily contiguous.
         
        repeated .envoy.config.core.v3.HealthCheck.Payload receive = 2;
        Specified by:
        getReceive in interface HealthCheck.TcpHealthCheckOrBuilder
      • hasProxyProtocolConfig

        public boolean hasProxyProtocolConfig()
         When setting this value, it tries to attempt health check request with ProxyProtocol.
         When ``send`` is presented, they are sent after preceding ProxyProtocol header.
         Only ProxyProtocol header is sent when ``send`` is not presented.
         It allows to use both ProxyProtocol V1 and V2. In V1, it presents L3/L4. In V2, it includes
         LOCAL command and doesn't include L3/L4.
         
        .envoy.config.core.v3.ProxyProtocolConfig proxy_protocol_config = 3;
        Specified by:
        hasProxyProtocolConfig in interface HealthCheck.TcpHealthCheckOrBuilder
        Returns:
        Whether the proxyProtocolConfig field is set.
      • getProxyProtocolConfig

        public ProxyProtocolConfig getProxyProtocolConfig()
         When setting this value, it tries to attempt health check request with ProxyProtocol.
         When ``send`` is presented, they are sent after preceding ProxyProtocol header.
         Only ProxyProtocol header is sent when ``send`` is not presented.
         It allows to use both ProxyProtocol V1 and V2. In V1, it presents L3/L4. In V2, it includes
         LOCAL command and doesn't include L3/L4.
         
        .envoy.config.core.v3.ProxyProtocolConfig proxy_protocol_config = 3;
        Specified by:
        getProxyProtocolConfig in interface HealthCheck.TcpHealthCheckOrBuilder
        Returns:
        The proxyProtocolConfig.
      • getProxyProtocolConfigOrBuilder

        public ProxyProtocolConfigOrBuilder getProxyProtocolConfigOrBuilder()
         When setting this value, it tries to attempt health check request with ProxyProtocol.
         When ``send`` is presented, they are sent after preceding ProxyProtocol header.
         Only ProxyProtocol header is sent when ``send`` is not presented.
         It allows to use both ProxyProtocol V1 and V2. In V1, it presents L3/L4. In V2, it includes
         LOCAL command and doesn't include L3/L4.
         
        .envoy.config.core.v3.ProxyProtocolConfig proxy_protocol_config = 3;
        Specified by:
        getProxyProtocolConfigOrBuilder in interface HealthCheck.TcpHealthCheckOrBuilder
      • isInitialized

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

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

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

        public boolean equals​(java.lang.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 HealthCheck.TcpHealthCheck parseFrom​(java.nio.ByteBuffer data)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

        public static HealthCheck.TcpHealthCheck parseFrom​(java.io.InputStream input)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static HealthCheck.TcpHealthCheck parseFrom​(java.io.InputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static HealthCheck.TcpHealthCheck parseDelimitedFrom​(java.io.InputStream input)
                                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static HealthCheck.TcpHealthCheck parseDelimitedFrom​(java.io.InputStream input,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static HealthCheck.TcpHealthCheck parseFrom​(com.google.protobuf.CodedInputStream input)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

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

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

        protected HealthCheck.TcpHealthCheck.Builder newBuilderForType​(com.google.protobuf.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.google.protobuf.AbstractMessage
      • getParserForType

        public com.google.protobuf.Parser<HealthCheck.TcpHealthCheck> 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.GeneratedMessage
      • getDefaultInstanceForType

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