Class HealthCheck.TcpHealthCheck.Builder

    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • 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.Builder<HealthCheck.TcpHealthCheck.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • 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.GeneratedMessage.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

        public HealthCheck.TcpHealthCheck 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
      • isInitialized

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

        public HealthCheck.TcpHealthCheck.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws java.io.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:
        java.io.IOException
      • 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.
      • getSendBuilder

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

        private void ensureReceiveIsMutable()
      • 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
      • 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
      • setReceive

        public HealthCheck.TcpHealthCheck.Builder setReceive​(int index,
                                                             HealthCheck.Payload value)
         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;
      • setReceive

        public HealthCheck.TcpHealthCheck.Builder setReceive​(int index,
                                                             HealthCheck.Payload.Builder builderForValue)
         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;
      • addReceive

        public HealthCheck.TcpHealthCheck.Builder addReceive​(HealthCheck.Payload value)
         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;
      • addReceive

        public HealthCheck.TcpHealthCheck.Builder addReceive​(int index,
                                                             HealthCheck.Payload value)
         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;
      • addReceive

        public HealthCheck.TcpHealthCheck.Builder addReceive​(HealthCheck.Payload.Builder builderForValue)
         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;
      • addReceive

        public HealthCheck.TcpHealthCheck.Builder addReceive​(int index,
                                                             HealthCheck.Payload.Builder builderForValue)
         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;
      • addAllReceive

        public HealthCheck.TcpHealthCheck.Builder addAllReceive​(java.lang.Iterable<? extends HealthCheck.Payload> values)
         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;
      • clearReceive

        public HealthCheck.TcpHealthCheck.Builder clearReceive()
         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;
      • removeReceive

        public HealthCheck.TcpHealthCheck.Builder removeReceive​(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;
      • getReceiveBuilder

        public HealthCheck.Payload.Builder getReceiveBuilder​(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;
      • 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
      • addReceiveBuilder

        public HealthCheck.Payload.Builder addReceiveBuilder()
         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;
      • addReceiveBuilder

        public HealthCheck.Payload.Builder addReceiveBuilder​(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;
      • getReceiveBuilderList

        public java.util.List<HealthCheck.Payload.Builder> getReceiveBuilderList()
         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;
      • 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.
      • setProxyProtocolConfig

        public HealthCheck.TcpHealthCheck.Builder setProxyProtocolConfig​(ProxyProtocolConfig value)
         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;
      • setProxyProtocolConfig

        public HealthCheck.TcpHealthCheck.Builder setProxyProtocolConfig​(ProxyProtocolConfig.Builder builderForValue)
         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;
      • mergeProxyProtocolConfig

        public HealthCheck.TcpHealthCheck.Builder mergeProxyProtocolConfig​(ProxyProtocolConfig value)
         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;
      • clearProxyProtocolConfig

        public HealthCheck.TcpHealthCheck.Builder clearProxyProtocolConfig()
         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;
      • getProxyProtocolConfigBuilder

        public ProxyProtocolConfig.Builder getProxyProtocolConfigBuilder()
         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;
      • 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
      • getProxyProtocolConfigFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<ProxyProtocolConfig,​ProxyProtocolConfig.Builder,​ProxyProtocolConfigOrBuilder> getProxyProtocolConfigFieldBuilder()
         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;