Class TcpKeepalive.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TcpKeepaliveOrBuilder, java.lang.Cloneable
    Enclosing class:
    TcpKeepalive

    public static final class TcpKeepalive.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<TcpKeepalive.Builder>
    implements TcpKeepaliveOrBuilder
    Protobuf type envoy.config.core.v3.TcpKeepalive
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int bitField0_  
      private com.google.protobuf.UInt32Value keepaliveInterval_  
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,​com.google.protobuf.UInt32Value.Builder,​com.google.protobuf.UInt32ValueOrBuilder> keepaliveIntervalBuilder_  
      private com.google.protobuf.UInt32Value keepaliveProbes_  
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,​com.google.protobuf.UInt32Value.Builder,​com.google.protobuf.UInt32ValueOrBuilder> keepaliveProbesBuilder_  
      private com.google.protobuf.UInt32Value keepaliveTime_  
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,​com.google.protobuf.UInt32Value.Builder,​com.google.protobuf.UInt32ValueOrBuilder> keepaliveTimeBuilder_  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Builder()  
      private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      TcpKeepalive build()  
      TcpKeepalive buildPartial()  
      private void buildPartial0​(TcpKeepalive result)  
      TcpKeepalive.Builder clear()  
      TcpKeepalive.Builder clearKeepaliveInterval()
      The number of seconds between keep-alive probes.
      TcpKeepalive.Builder clearKeepaliveProbes()
      Maximum number of keepalive probes to send without response before deciding the connection is dead.
      TcpKeepalive.Builder clearKeepaliveTime()
      The number of seconds a connection needs to be idle before keep-alive probes start being sent.
      TcpKeepalive getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      com.google.protobuf.UInt32Value getKeepaliveInterval()
      The number of seconds between keep-alive probes.
      com.google.protobuf.UInt32Value.Builder getKeepaliveIntervalBuilder()
      The number of seconds between keep-alive probes.
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,​com.google.protobuf.UInt32Value.Builder,​com.google.protobuf.UInt32ValueOrBuilder> getKeepaliveIntervalFieldBuilder()
      The number of seconds between keep-alive probes.
      com.google.protobuf.UInt32ValueOrBuilder getKeepaliveIntervalOrBuilder()
      The number of seconds between keep-alive probes.
      com.google.protobuf.UInt32Value getKeepaliveProbes()
      Maximum number of keepalive probes to send without response before deciding the connection is dead.
      com.google.protobuf.UInt32Value.Builder getKeepaliveProbesBuilder()
      Maximum number of keepalive probes to send without response before deciding the connection is dead.
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,​com.google.protobuf.UInt32Value.Builder,​com.google.protobuf.UInt32ValueOrBuilder> getKeepaliveProbesFieldBuilder()
      Maximum number of keepalive probes to send without response before deciding the connection is dead.
      com.google.protobuf.UInt32ValueOrBuilder getKeepaliveProbesOrBuilder()
      Maximum number of keepalive probes to send without response before deciding the connection is dead.
      com.google.protobuf.UInt32Value getKeepaliveTime()
      The number of seconds a connection needs to be idle before keep-alive probes start being sent.
      com.google.protobuf.UInt32Value.Builder getKeepaliveTimeBuilder()
      The number of seconds a connection needs to be idle before keep-alive probes start being sent.
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,​com.google.protobuf.UInt32Value.Builder,​com.google.protobuf.UInt32ValueOrBuilder> getKeepaliveTimeFieldBuilder()
      The number of seconds a connection needs to be idle before keep-alive probes start being sent.
      com.google.protobuf.UInt32ValueOrBuilder getKeepaliveTimeOrBuilder()
      The number of seconds a connection needs to be idle before keep-alive probes start being sent.
      boolean hasKeepaliveInterval()
      The number of seconds between keep-alive probes.
      boolean hasKeepaliveProbes()
      Maximum number of keepalive probes to send without response before deciding the connection is dead.
      boolean hasKeepaliveTime()
      The number of seconds a connection needs to be idle before keep-alive probes start being sent.
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      private void maybeForceBuilderInitialization()  
      TcpKeepalive.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      TcpKeepalive.Builder mergeFrom​(com.google.protobuf.Message other)  
      TcpKeepalive.Builder mergeFrom​(TcpKeepalive other)  
      TcpKeepalive.Builder mergeKeepaliveInterval​(com.google.protobuf.UInt32Value value)
      The number of seconds between keep-alive probes.
      TcpKeepalive.Builder mergeKeepaliveProbes​(com.google.protobuf.UInt32Value value)
      Maximum number of keepalive probes to send without response before deciding the connection is dead.
      TcpKeepalive.Builder mergeKeepaliveTime​(com.google.protobuf.UInt32Value value)
      The number of seconds a connection needs to be idle before keep-alive probes start being sent.
      TcpKeepalive.Builder setKeepaliveInterval​(com.google.protobuf.UInt32Value value)
      The number of seconds between keep-alive probes.
      TcpKeepalive.Builder setKeepaliveInterval​(com.google.protobuf.UInt32Value.Builder builderForValue)
      The number of seconds between keep-alive probes.
      TcpKeepalive.Builder setKeepaliveProbes​(com.google.protobuf.UInt32Value value)
      Maximum number of keepalive probes to send without response before deciding the connection is dead.
      TcpKeepalive.Builder setKeepaliveProbes​(com.google.protobuf.UInt32Value.Builder builderForValue)
      Maximum number of keepalive probes to send without response before deciding the connection is dead.
      TcpKeepalive.Builder setKeepaliveTime​(com.google.protobuf.UInt32Value value)
      The number of seconds a connection needs to be idle before keep-alive probes start being sent.
      TcpKeepalive.Builder setKeepaliveTime​(com.google.protobuf.UInt32Value.Builder builderForValue)
      The number of seconds a connection needs to be idle before keep-alive probes start being sent.
      • Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

        addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
      • Methods inherited from class com.google.protobuf.AbstractMessage.Builder

        findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.Message.Builder

        mergeDelimitedFrom, mergeDelimitedFrom
      • Methods inherited from interface com.google.protobuf.MessageLite.Builder

        mergeFrom
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Field Detail

      • bitField0_

        private int bitField0_
      • keepaliveProbes_

        private com.google.protobuf.UInt32Value keepaliveProbes_
      • keepaliveProbesBuilder_

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,​com.google.protobuf.UInt32Value.Builder,​com.google.protobuf.UInt32ValueOrBuilder> keepaliveProbesBuilder_
      • keepaliveTime_

        private com.google.protobuf.UInt32Value keepaliveTime_
      • keepaliveTimeBuilder_

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,​com.google.protobuf.UInt32Value.Builder,​com.google.protobuf.UInt32ValueOrBuilder> keepaliveTimeBuilder_
      • keepaliveInterval_

        private com.google.protobuf.UInt32Value keepaliveInterval_
      • keepaliveIntervalBuilder_

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,​com.google.protobuf.UInt32Value.Builder,​com.google.protobuf.UInt32ValueOrBuilder> keepaliveIntervalBuilder_
    • 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<TcpKeepalive.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • clear

        public TcpKeepalive.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.GeneratedMessage.Builder<TcpKeepalive.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.GeneratedMessage.Builder<TcpKeepalive.Builder>
      • getDefaultInstanceForType

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

        public TcpKeepalive build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public TcpKeepalive buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • buildPartial0

        private void buildPartial0​(TcpKeepalive result)
      • mergeFrom

        public TcpKeepalive.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<TcpKeepalive.Builder>
      • isInitialized

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

        public TcpKeepalive.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<TcpKeepalive.Builder>
        Throws:
        java.io.IOException
      • hasKeepaliveProbes

        public boolean hasKeepaliveProbes()
         Maximum number of keepalive probes to send without response before deciding
         the connection is dead. Default is to use the OS level configuration (unless
         overridden, Linux defaults to 9.)
         
        .google.protobuf.UInt32Value keepalive_probes = 1;
        Specified by:
        hasKeepaliveProbes in interface TcpKeepaliveOrBuilder
        Returns:
        Whether the keepaliveProbes field is set.
      • getKeepaliveProbes

        public com.google.protobuf.UInt32Value getKeepaliveProbes()
         Maximum number of keepalive probes to send without response before deciding
         the connection is dead. Default is to use the OS level configuration (unless
         overridden, Linux defaults to 9.)
         
        .google.protobuf.UInt32Value keepalive_probes = 1;
        Specified by:
        getKeepaliveProbes in interface TcpKeepaliveOrBuilder
        Returns:
        The keepaliveProbes.
      • setKeepaliveProbes

        public TcpKeepalive.Builder setKeepaliveProbes​(com.google.protobuf.UInt32Value value)
         Maximum number of keepalive probes to send without response before deciding
         the connection is dead. Default is to use the OS level configuration (unless
         overridden, Linux defaults to 9.)
         
        .google.protobuf.UInt32Value keepalive_probes = 1;
      • setKeepaliveProbes

        public TcpKeepalive.Builder setKeepaliveProbes​(com.google.protobuf.UInt32Value.Builder builderForValue)
         Maximum number of keepalive probes to send without response before deciding
         the connection is dead. Default is to use the OS level configuration (unless
         overridden, Linux defaults to 9.)
         
        .google.protobuf.UInt32Value keepalive_probes = 1;
      • mergeKeepaliveProbes

        public TcpKeepalive.Builder mergeKeepaliveProbes​(com.google.protobuf.UInt32Value value)
         Maximum number of keepalive probes to send without response before deciding
         the connection is dead. Default is to use the OS level configuration (unless
         overridden, Linux defaults to 9.)
         
        .google.protobuf.UInt32Value keepalive_probes = 1;
      • clearKeepaliveProbes

        public TcpKeepalive.Builder clearKeepaliveProbes()
         Maximum number of keepalive probes to send without response before deciding
         the connection is dead. Default is to use the OS level configuration (unless
         overridden, Linux defaults to 9.)
         
        .google.protobuf.UInt32Value keepalive_probes = 1;
      • getKeepaliveProbesBuilder

        public com.google.protobuf.UInt32Value.Builder getKeepaliveProbesBuilder()
         Maximum number of keepalive probes to send without response before deciding
         the connection is dead. Default is to use the OS level configuration (unless
         overridden, Linux defaults to 9.)
         
        .google.protobuf.UInt32Value keepalive_probes = 1;
      • getKeepaliveProbesOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getKeepaliveProbesOrBuilder()
         Maximum number of keepalive probes to send without response before deciding
         the connection is dead. Default is to use the OS level configuration (unless
         overridden, Linux defaults to 9.)
         
        .google.protobuf.UInt32Value keepalive_probes = 1;
        Specified by:
        getKeepaliveProbesOrBuilder in interface TcpKeepaliveOrBuilder
      • getKeepaliveProbesFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,​com.google.protobuf.UInt32Value.Builder,​com.google.protobuf.UInt32ValueOrBuilder> getKeepaliveProbesFieldBuilder()
         Maximum number of keepalive probes to send without response before deciding
         the connection is dead. Default is to use the OS level configuration (unless
         overridden, Linux defaults to 9.)
         
        .google.protobuf.UInt32Value keepalive_probes = 1;
      • hasKeepaliveTime

        public boolean hasKeepaliveTime()
         The number of seconds a connection needs to be idle before keep-alive probes
         start being sent. Default is to use the OS level configuration (unless
         overridden, Linux defaults to 7200s (i.e., 2 hours.)
         
        .google.protobuf.UInt32Value keepalive_time = 2;
        Specified by:
        hasKeepaliveTime in interface TcpKeepaliveOrBuilder
        Returns:
        Whether the keepaliveTime field is set.
      • getKeepaliveTime

        public com.google.protobuf.UInt32Value getKeepaliveTime()
         The number of seconds a connection needs to be idle before keep-alive probes
         start being sent. Default is to use the OS level configuration (unless
         overridden, Linux defaults to 7200s (i.e., 2 hours.)
         
        .google.protobuf.UInt32Value keepalive_time = 2;
        Specified by:
        getKeepaliveTime in interface TcpKeepaliveOrBuilder
        Returns:
        The keepaliveTime.
      • setKeepaliveTime

        public TcpKeepalive.Builder setKeepaliveTime​(com.google.protobuf.UInt32Value value)
         The number of seconds a connection needs to be idle before keep-alive probes
         start being sent. Default is to use the OS level configuration (unless
         overridden, Linux defaults to 7200s (i.e., 2 hours.)
         
        .google.protobuf.UInt32Value keepalive_time = 2;
      • setKeepaliveTime

        public TcpKeepalive.Builder setKeepaliveTime​(com.google.protobuf.UInt32Value.Builder builderForValue)
         The number of seconds a connection needs to be idle before keep-alive probes
         start being sent. Default is to use the OS level configuration (unless
         overridden, Linux defaults to 7200s (i.e., 2 hours.)
         
        .google.protobuf.UInt32Value keepalive_time = 2;
      • mergeKeepaliveTime

        public TcpKeepalive.Builder mergeKeepaliveTime​(com.google.protobuf.UInt32Value value)
         The number of seconds a connection needs to be idle before keep-alive probes
         start being sent. Default is to use the OS level configuration (unless
         overridden, Linux defaults to 7200s (i.e., 2 hours.)
         
        .google.protobuf.UInt32Value keepalive_time = 2;
      • clearKeepaliveTime

        public TcpKeepalive.Builder clearKeepaliveTime()
         The number of seconds a connection needs to be idle before keep-alive probes
         start being sent. Default is to use the OS level configuration (unless
         overridden, Linux defaults to 7200s (i.e., 2 hours.)
         
        .google.protobuf.UInt32Value keepalive_time = 2;
      • getKeepaliveTimeBuilder

        public com.google.protobuf.UInt32Value.Builder getKeepaliveTimeBuilder()
         The number of seconds a connection needs to be idle before keep-alive probes
         start being sent. Default is to use the OS level configuration (unless
         overridden, Linux defaults to 7200s (i.e., 2 hours.)
         
        .google.protobuf.UInt32Value keepalive_time = 2;
      • getKeepaliveTimeOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getKeepaliveTimeOrBuilder()
         The number of seconds a connection needs to be idle before keep-alive probes
         start being sent. Default is to use the OS level configuration (unless
         overridden, Linux defaults to 7200s (i.e., 2 hours.)
         
        .google.protobuf.UInt32Value keepalive_time = 2;
        Specified by:
        getKeepaliveTimeOrBuilder in interface TcpKeepaliveOrBuilder
      • getKeepaliveTimeFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,​com.google.protobuf.UInt32Value.Builder,​com.google.protobuf.UInt32ValueOrBuilder> getKeepaliveTimeFieldBuilder()
         The number of seconds a connection needs to be idle before keep-alive probes
         start being sent. Default is to use the OS level configuration (unless
         overridden, Linux defaults to 7200s (i.e., 2 hours.)
         
        .google.protobuf.UInt32Value keepalive_time = 2;
      • hasKeepaliveInterval

        public boolean hasKeepaliveInterval()
         The number of seconds between keep-alive probes. Default is to use the OS
         level configuration (unless overridden, Linux defaults to 75s.)
         
        .google.protobuf.UInt32Value keepalive_interval = 3;
        Specified by:
        hasKeepaliveInterval in interface TcpKeepaliveOrBuilder
        Returns:
        Whether the keepaliveInterval field is set.
      • getKeepaliveInterval

        public com.google.protobuf.UInt32Value getKeepaliveInterval()
         The number of seconds between keep-alive probes. Default is to use the OS
         level configuration (unless overridden, Linux defaults to 75s.)
         
        .google.protobuf.UInt32Value keepalive_interval = 3;
        Specified by:
        getKeepaliveInterval in interface TcpKeepaliveOrBuilder
        Returns:
        The keepaliveInterval.
      • setKeepaliveInterval

        public TcpKeepalive.Builder setKeepaliveInterval​(com.google.protobuf.UInt32Value value)
         The number of seconds between keep-alive probes. Default is to use the OS
         level configuration (unless overridden, Linux defaults to 75s.)
         
        .google.protobuf.UInt32Value keepalive_interval = 3;
      • setKeepaliveInterval

        public TcpKeepalive.Builder setKeepaliveInterval​(com.google.protobuf.UInt32Value.Builder builderForValue)
         The number of seconds between keep-alive probes. Default is to use the OS
         level configuration (unless overridden, Linux defaults to 75s.)
         
        .google.protobuf.UInt32Value keepalive_interval = 3;
      • mergeKeepaliveInterval

        public TcpKeepalive.Builder mergeKeepaliveInterval​(com.google.protobuf.UInt32Value value)
         The number of seconds between keep-alive probes. Default is to use the OS
         level configuration (unless overridden, Linux defaults to 75s.)
         
        .google.protobuf.UInt32Value keepalive_interval = 3;
      • clearKeepaliveInterval

        public TcpKeepalive.Builder clearKeepaliveInterval()
         The number of seconds between keep-alive probes. Default is to use the OS
         level configuration (unless overridden, Linux defaults to 75s.)
         
        .google.protobuf.UInt32Value keepalive_interval = 3;
      • getKeepaliveIntervalBuilder

        public com.google.protobuf.UInt32Value.Builder getKeepaliveIntervalBuilder()
         The number of seconds between keep-alive probes. Default is to use the OS
         level configuration (unless overridden, Linux defaults to 75s.)
         
        .google.protobuf.UInt32Value keepalive_interval = 3;
      • getKeepaliveIntervalOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getKeepaliveIntervalOrBuilder()
         The number of seconds between keep-alive probes. Default is to use the OS
         level configuration (unless overridden, Linux defaults to 75s.)
         
        .google.protobuf.UInt32Value keepalive_interval = 3;
        Specified by:
        getKeepaliveIntervalOrBuilder in interface TcpKeepaliveOrBuilder
      • getKeepaliveIntervalFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,​com.google.protobuf.UInt32Value.Builder,​com.google.protobuf.UInt32ValueOrBuilder> getKeepaliveIntervalFieldBuilder()
         The number of seconds between keep-alive probes. Default is to use the OS
         level configuration (unless overridden, Linux defaults to 75s.)
         
        .google.protobuf.UInt32Value keepalive_interval = 3;