Class HealthCheck.TcpHealthCheck.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TcpHealthCheck.Builder>
io.envoyproxy.envoy.api.v2.core.HealthCheck.TcpHealthCheck.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, HealthCheck.TcpHealthCheckOrBuilder, Cloneable
Enclosing class:
HealthCheck.TcpHealthCheck

public static final class HealthCheck.TcpHealthCheck.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TcpHealthCheck.Builder> implements HealthCheck.TcpHealthCheckOrBuilder
Protobuf type envoy.api.v2.core.HealthCheck.TcpHealthCheck
  • Method Details

    • 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.Builder<HealthCheck.TcpHealthCheck.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TcpHealthCheck.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TcpHealthCheck.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TcpHealthCheck.Builder>
    • setField

      public HealthCheck.TcpHealthCheck.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TcpHealthCheck.Builder>
    • clearField

      public HealthCheck.TcpHealthCheck.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TcpHealthCheck.Builder>
    • clearOneof

      public HealthCheck.TcpHealthCheck.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TcpHealthCheck.Builder>
    • setRepeatedField

      public HealthCheck.TcpHealthCheck.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TcpHealthCheck.Builder>
    • addRepeatedField

      public HealthCheck.TcpHealthCheck.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TcpHealthCheck.Builder>
    • mergeFrom

      public HealthCheck.TcpHealthCheck.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<HealthCheck.TcpHealthCheck.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TcpHealthCheck.Builder>
    • mergeFrom

      public HealthCheck.TcpHealthCheck.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<HealthCheck.TcpHealthCheck.Builder>
      Throws:
      IOException
    • hasSend

      public boolean hasSend()
       Empty payloads imply a connect-only health check.
       
      .envoy.api.v2.core.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.api.v2.core.HealthCheck.Payload send = 1;
      Specified by:
      getSend in interface HealthCheck.TcpHealthCheckOrBuilder
      Returns:
      The send.
    • setSend

       Empty payloads imply a connect-only health check.
       
      .envoy.api.v2.core.HealthCheck.Payload send = 1;
    • setSend

       Empty payloads imply a connect-only health check.
       
      .envoy.api.v2.core.HealthCheck.Payload send = 1;
    • mergeSend

       Empty payloads imply a connect-only health check.
       
      .envoy.api.v2.core.HealthCheck.Payload send = 1;
    • clearSend

       Empty payloads imply a connect-only health check.
       
      .envoy.api.v2.core.HealthCheck.Payload send = 1;
    • getSendBuilder

      public HealthCheck.Payload.Builder getSendBuilder()
       Empty payloads imply a connect-only health check.
       
      .envoy.api.v2.core.HealthCheck.Payload send = 1;
    • getSendOrBuilder

      public HealthCheck.PayloadOrBuilder getSendOrBuilder()
       Empty payloads imply a connect-only health check.
       
      .envoy.api.v2.core.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
       binary block must be found, and in the order specified, but not
       necessarily contiguous.
       
      repeated .envoy.api.v2.core.HealthCheck.Payload receive = 2;
      Specified by:
      getReceiveList in interface HealthCheck.TcpHealthCheckOrBuilder
    • getReceiveCount

      public int getReceiveCount()
       When checking the response, “fuzzy” matching is performed such that each
       binary block must be found, and in the order specified, but not
       necessarily contiguous.
       
      repeated .envoy.api.v2.core.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
       binary block must be found, and in the order specified, but not
       necessarily contiguous.
       
      repeated .envoy.api.v2.core.HealthCheck.Payload receive = 2;
      Specified by:
      getReceive in interface HealthCheck.TcpHealthCheckOrBuilder
    • setReceive

      public HealthCheck.TcpHealthCheck.Builder setReceive(int index, HealthCheck.Payload value)
       When checking the response, “fuzzy” matching is performed such that each
       binary block must be found, and in the order specified, but not
       necessarily contiguous.
       
      repeated .envoy.api.v2.core.HealthCheck.Payload receive = 2;
    • setReceive

      public HealthCheck.TcpHealthCheck.Builder setReceive(int index, HealthCheck.Payload.Builder builderForValue)
       When checking the response, “fuzzy” matching is performed such that each
       binary block must be found, and in the order specified, but not
       necessarily contiguous.
       
      repeated .envoy.api.v2.core.HealthCheck.Payload receive = 2;
    • addReceive

       When checking the response, “fuzzy” matching is performed such that each
       binary block must be found, and in the order specified, but not
       necessarily contiguous.
       
      repeated .envoy.api.v2.core.HealthCheck.Payload receive = 2;
    • addReceive

      public HealthCheck.TcpHealthCheck.Builder addReceive(int index, HealthCheck.Payload value)
       When checking the response, “fuzzy” matching is performed such that each
       binary block must be found, and in the order specified, but not
       necessarily contiguous.
       
      repeated .envoy.api.v2.core.HealthCheck.Payload receive = 2;
    • addReceive

       When checking the response, “fuzzy” matching is performed such that each
       binary block must be found, and in the order specified, but not
       necessarily contiguous.
       
      repeated .envoy.api.v2.core.HealthCheck.Payload receive = 2;
    • addReceive

      public HealthCheck.TcpHealthCheck.Builder addReceive(int index, HealthCheck.Payload.Builder builderForValue)
       When checking the response, “fuzzy” matching is performed such that each
       binary block must be found, and in the order specified, but not
       necessarily contiguous.
       
      repeated .envoy.api.v2.core.HealthCheck.Payload receive = 2;
    • addAllReceive

      public HealthCheck.TcpHealthCheck.Builder addAllReceive(Iterable<? extends HealthCheck.Payload> values)
       When checking the response, “fuzzy” matching is performed such that each
       binary block must be found, and in the order specified, but not
       necessarily contiguous.
       
      repeated .envoy.api.v2.core.HealthCheck.Payload receive = 2;
    • clearReceive

      public HealthCheck.TcpHealthCheck.Builder clearReceive()
       When checking the response, “fuzzy” matching is performed such that each
       binary block must be found, and in the order specified, but not
       necessarily contiguous.
       
      repeated .envoy.api.v2.core.HealthCheck.Payload receive = 2;
    • removeReceive

      public HealthCheck.TcpHealthCheck.Builder removeReceive(int index)
       When checking the response, “fuzzy” matching is performed such that each
       binary block must be found, and in the order specified, but not
       necessarily contiguous.
       
      repeated .envoy.api.v2.core.HealthCheck.Payload receive = 2;
    • getReceiveBuilder

      public HealthCheck.Payload.Builder getReceiveBuilder(int index)
       When checking the response, “fuzzy” matching is performed such that each
       binary block must be found, and in the order specified, but not
       necessarily contiguous.
       
      repeated .envoy.api.v2.core.HealthCheck.Payload receive = 2;
    • getReceiveOrBuilder

      public HealthCheck.PayloadOrBuilder getReceiveOrBuilder(int index)
       When checking the response, “fuzzy” matching is performed such that each
       binary block must be found, and in the order specified, but not
       necessarily contiguous.
       
      repeated .envoy.api.v2.core.HealthCheck.Payload receive = 2;
      Specified by:
      getReceiveOrBuilder in interface HealthCheck.TcpHealthCheckOrBuilder
    • getReceiveOrBuilderList

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

      public HealthCheck.Payload.Builder addReceiveBuilder()
       When checking the response, “fuzzy” matching is performed such that each
       binary block must be found, and in the order specified, but not
       necessarily contiguous.
       
      repeated .envoy.api.v2.core.HealthCheck.Payload receive = 2;
    • addReceiveBuilder

      public HealthCheck.Payload.Builder addReceiveBuilder(int index)
       When checking the response, “fuzzy” matching is performed such that each
       binary block must be found, and in the order specified, but not
       necessarily contiguous.
       
      repeated .envoy.api.v2.core.HealthCheck.Payload receive = 2;
    • getReceiveBuilderList

      public List<HealthCheck.Payload.Builder> getReceiveBuilderList()
       When checking the response, “fuzzy” matching is performed such that each
       binary block must be found, and in the order specified, but not
       necessarily contiguous.
       
      repeated .envoy.api.v2.core.HealthCheck.Payload receive = 2;
    • setUnknownFields

      public final HealthCheck.TcpHealthCheck.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TcpHealthCheck.Builder>
    • mergeUnknownFields

      public final HealthCheck.TcpHealthCheck.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HealthCheck.TcpHealthCheck.Builder>