Class HealthCheck.TcpHealthCheck

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.envoyproxy.envoy.config.core.v3.HealthCheck.TcpHealthCheck
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, HealthCheck.TcpHealthCheckOrBuilder, 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:
  • Field Details

  • Constructor Details

    • TcpHealthCheck

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

      private TcpHealthCheck()
  • Method Details

    • 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.
    • getSend

      public HealthCheck.Payload getSend()
       Empty payloads imply a connect-only health check.
       
      .envoy.config.core.v3.HealthCheck.Payload send = 1;
      Specified by:
      getSend in interface HealthCheck.TcpHealthCheckOrBuilder
      Returns:
      The send.
    • getSendOrBuilder

      public HealthCheck.PayloadOrBuilder getSendOrBuilder()
       Empty payloads imply a connect-only health check.
       
      .envoy.config.core.v3.HealthCheck.Payload send = 1;
      Specified by:
      getSendOrBuilder in interface HealthCheck.TcpHealthCheckOrBuilder
    • getReceiveList

      public 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 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
    • getReceiveOrBuilder

      public HealthCheck.PayloadOrBuilder getReceiveOrBuilder(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:
      getReceiveOrBuilder 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 IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      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(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(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static HealthCheck.TcpHealthCheck parseFrom(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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

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

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

      public static HealthCheck.TcpHealthCheck parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      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
    • newBuilder

      public static HealthCheck.TcpHealthCheck.Builder newBuilder()
    • newBuilder

      public static HealthCheck.TcpHealthCheck.Builder newBuilder(HealthCheck.TcpHealthCheck prototype)
    • 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
    • getDefaultInstance

      public static HealthCheck.TcpHealthCheck getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<HealthCheck.TcpHealthCheck> parser()
    • 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