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
FieldsModifier and TypeFieldDescriptionprivate 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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()
private void
buildPartial0
(TcpKeepalive result) clear()
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.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.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.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.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.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.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
final boolean
private void
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(TcpKeepalive 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, keepaliveProbesBuilder_com.google.protobuf.UInt32ValueOrBuilder> -
keepaliveTime_
private com.google.protobuf.UInt32Value keepaliveTime_ -
keepaliveTimeBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, keepaliveTimeBuilder_com.google.protobuf.UInt32ValueOrBuilder> -
keepaliveInterval_
private com.google.protobuf.UInt32Value keepaliveInterval_ -
keepaliveIntervalBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, keepaliveIntervalBuilder_com.google.protobuf.UInt32ValueOrBuilder>
-
-
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 classcom.google.protobuf.GeneratedMessage.Builder<TcpKeepalive.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<TcpKeepalive.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<TcpKeepalive.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TcpKeepalive.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceTcpKeepaliveOrBuilder
- 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 interfaceTcpKeepaliveOrBuilder
- Returns:
- The keepaliveProbes.
-
setKeepaliveProbes
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
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
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 interfaceTcpKeepaliveOrBuilder
-
getKeepaliveProbesFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, getKeepaliveProbesFieldBuilder()com.google.protobuf.UInt32ValueOrBuilder> 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 interfaceTcpKeepaliveOrBuilder
- 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 interfaceTcpKeepaliveOrBuilder
- Returns:
- The keepaliveTime.
-
setKeepaliveTime
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
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
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 interfaceTcpKeepaliveOrBuilder
-
getKeepaliveTimeFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, getKeepaliveTimeFieldBuilder()com.google.protobuf.UInt32ValueOrBuilder> 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 interfaceTcpKeepaliveOrBuilder
- 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 interfaceTcpKeepaliveOrBuilder
- Returns:
- The keepaliveInterval.
-
setKeepaliveInterval
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
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
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 interfaceTcpKeepaliveOrBuilder
-
getKeepaliveIntervalFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, getKeepaliveIntervalFieldBuilder()com.google.protobuf.UInt32ValueOrBuilder> 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;
-