Class TcpKeepalive.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<TcpKeepalive.Builder>
com.google.protobuf.GeneratedMessage.Builder<TcpKeepalive.Builder>
io.envoyproxy.envoy.config.core.v3.TcpKeepalive.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TcpKeepaliveOrBuilder, 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
     
    private com.google.protobuf.UInt32Value
     
    private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
     
    private com.google.protobuf.UInt32Value
     
    private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
     
    private com.google.protobuf.UInt32Value
     
    private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
     
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
     
     
    private void
     
     
    The number of seconds between keep-alive probes.
    Maximum number of keepalive probes to send without response before deciding the connection is dead.
    The number of seconds a connection needs to be idle before keep-alive probes start being sent.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.UInt32Value
    The number of seconds between keep-alive probes.
    com.google.protobuf.UInt32Value.Builder
    The number of seconds between keep-alive probes.
    com.google.protobuf.UInt32ValueOrBuilder
    The number of seconds between keep-alive probes.
    com.google.protobuf.UInt32Value
    Maximum number of keepalive probes to send without response before deciding the connection is dead.
    com.google.protobuf.UInt32Value.Builder
    Maximum number of keepalive probes to send without response before deciding the connection is dead.
    com.google.protobuf.UInt32ValueOrBuilder
    Maximum number of keepalive probes to send without response before deciding the connection is dead.
    com.google.protobuf.UInt32Value
    The number of seconds a connection needs to be idle before keep-alive probes start being sent.
    com.google.protobuf.UInt32Value.Builder
    The number of seconds a connection needs to be idle before keep-alive probes start being sent.
    com.google.protobuf.UInt32ValueOrBuilder
    The number of seconds a connection needs to be idle before keep-alive probes start being sent.
    boolean
    The number of seconds between keep-alive probes.
    boolean
    Maximum number of keepalive probes to send without response before deciding the connection is dead.
    boolean
    The number of seconds a connection needs to be idle before keep-alive probes start being sent.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
    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>
    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>
    The number of seconds a connection needs to be idle before keep-alive probes start being sent.
    final boolean
     
    private void
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    mergeKeepaliveInterval(com.google.protobuf.UInt32Value value)
    The number of seconds between keep-alive probes.
    mergeKeepaliveProbes(com.google.protobuf.UInt32Value value)
    Maximum number of keepalive probes to send without response before deciding the connection is dead.
    mergeKeepaliveTime(com.google.protobuf.UInt32Value value)
    The number of seconds a connection needs to be idle before keep-alive probes start being sent.
    setKeepaliveInterval(com.google.protobuf.UInt32Value value)
    The number of seconds between keep-alive probes.
    setKeepaliveInterval(com.google.protobuf.UInt32Value.Builder builderForValue)
    The number of seconds between keep-alive probes.
    setKeepaliveProbes(com.google.protobuf.UInt32Value value)
    Maximum number of keepalive probes to send without response before deciding the connection is dead.
    setKeepaliveProbes(com.google.protobuf.UInt32Value.Builder builderForValue)
    Maximum number of keepalive probes to send without response before deciding the connection is dead.
    setKeepaliveTime(com.google.protobuf.UInt32Value value)
    The number of seconds a connection needs to be idle before keep-alive probes start being sent.
    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 Details

    • 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 Details

    • Builder

      private Builder()
    • Builder

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

      public TcpKeepalive.Builder mergeFrom(TcpKeepalive other)
    • 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 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:
      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
    • internalGetKeepaliveProbesFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> internalGetKeepaliveProbesFieldBuilder()
       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
    • internalGetKeepaliveTimeFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> internalGetKeepaliveTimeFieldBuilder()
       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
    • internalGetKeepaliveIntervalFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> internalGetKeepaliveIntervalFieldBuilder()
       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;