Class TcpProtocolOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
-
- io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TcpProtocolOptionsOrBuilder,Cloneable
- Enclosing class:
- TcpProtocolOptions
public static final class TcpProtocolOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder> implements TcpProtocolOptionsOrBuilder
Protobuf typeenvoy.extensions.upstreams.tcp.v3.TcpProtocolOptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TcpProtocolOptions.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TcpProtocolOptionsbuild()TcpProtocolOptionsbuildPartial()TcpProtocolOptions.Builderclear()TcpProtocolOptions.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TcpProtocolOptions.BuilderclearIdleTimeout()The idle timeout for the connection.TcpProtocolOptions.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TcpProtocolOptions.Builderclone()TcpProtocolOptionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.DurationgetIdleTimeout()The idle timeout for the connection.com.google.protobuf.Duration.BuildergetIdleTimeoutBuilder()The idle timeout for the connection.com.google.protobuf.DurationOrBuildergetIdleTimeoutOrBuilder()The idle timeout for the connection.booleanhasIdleTimeout()The idle timeout for the connection.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TcpProtocolOptions.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TcpProtocolOptions.BuildermergeFrom(com.google.protobuf.Message other)TcpProtocolOptions.BuildermergeFrom(TcpProtocolOptions other)TcpProtocolOptions.BuildermergeIdleTimeout(com.google.protobuf.Duration value)The idle timeout for the connection.TcpProtocolOptions.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TcpProtocolOptions.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TcpProtocolOptions.BuildersetIdleTimeout(com.google.protobuf.Duration value)The idle timeout for the connection.TcpProtocolOptions.BuildersetIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)The idle timeout for the connection.TcpProtocolOptions.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TcpProtocolOptions.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
-
clear
public TcpProtocolOptions.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
-
getDefaultInstanceForType
public TcpProtocolOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TcpProtocolOptions build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TcpProtocolOptions buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TcpProtocolOptions.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
-
setField
public TcpProtocolOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
-
clearField
public TcpProtocolOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
-
clearOneof
public TcpProtocolOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
-
setRepeatedField
public TcpProtocolOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
-
addRepeatedField
public TcpProtocolOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
-
mergeFrom
public TcpProtocolOptions.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TcpProtocolOptions.Builder>
-
mergeFrom
public TcpProtocolOptions.Builder mergeFrom(TcpProtocolOptions other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
-
mergeFrom
public TcpProtocolOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TcpProtocolOptions.Builder>- Throws:
IOException
-
hasIdleTimeout
public boolean hasIdleTimeout()
The idle timeout for the connection. The idle timeout is defined as the period in which the connection is not associated with a downstream connection. When the idle timeout is reached, the connection will be closed. If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0. .. warning:: Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP FIN packets, etc.
.google.protobuf.Duration idle_timeout = 1;- Specified by:
hasIdleTimeoutin interfaceTcpProtocolOptionsOrBuilder- Returns:
- Whether the idleTimeout field is set.
-
getIdleTimeout
public com.google.protobuf.Duration getIdleTimeout()
The idle timeout for the connection. The idle timeout is defined as the period in which the connection is not associated with a downstream connection. When the idle timeout is reached, the connection will be closed. If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0. .. warning:: Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP FIN packets, etc.
.google.protobuf.Duration idle_timeout = 1;- Specified by:
getIdleTimeoutin interfaceTcpProtocolOptionsOrBuilder- Returns:
- The idleTimeout.
-
setIdleTimeout
public TcpProtocolOptions.Builder setIdleTimeout(com.google.protobuf.Duration value)
The idle timeout for the connection. The idle timeout is defined as the period in which the connection is not associated with a downstream connection. When the idle timeout is reached, the connection will be closed. If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0. .. warning:: Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP FIN packets, etc.
.google.protobuf.Duration idle_timeout = 1;
-
setIdleTimeout
public TcpProtocolOptions.Builder setIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)
The idle timeout for the connection. The idle timeout is defined as the period in which the connection is not associated with a downstream connection. When the idle timeout is reached, the connection will be closed. If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0. .. warning:: Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP FIN packets, etc.
.google.protobuf.Duration idle_timeout = 1;
-
mergeIdleTimeout
public TcpProtocolOptions.Builder mergeIdleTimeout(com.google.protobuf.Duration value)
The idle timeout for the connection. The idle timeout is defined as the period in which the connection is not associated with a downstream connection. When the idle timeout is reached, the connection will be closed. If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0. .. warning:: Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP FIN packets, etc.
.google.protobuf.Duration idle_timeout = 1;
-
clearIdleTimeout
public TcpProtocolOptions.Builder clearIdleTimeout()
The idle timeout for the connection. The idle timeout is defined as the period in which the connection is not associated with a downstream connection. When the idle timeout is reached, the connection will be closed. If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0. .. warning:: Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP FIN packets, etc.
.google.protobuf.Duration idle_timeout = 1;
-
getIdleTimeoutBuilder
public com.google.protobuf.Duration.Builder getIdleTimeoutBuilder()
The idle timeout for the connection. The idle timeout is defined as the period in which the connection is not associated with a downstream connection. When the idle timeout is reached, the connection will be closed. If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0. .. warning:: Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP FIN packets, etc.
.google.protobuf.Duration idle_timeout = 1;
-
getIdleTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getIdleTimeoutOrBuilder()
The idle timeout for the connection. The idle timeout is defined as the period in which the connection is not associated with a downstream connection. When the idle timeout is reached, the connection will be closed. If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0. .. warning:: Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP FIN packets, etc.
.google.protobuf.Duration idle_timeout = 1;- Specified by:
getIdleTimeoutOrBuilderin interfaceTcpProtocolOptionsOrBuilder
-
setUnknownFields
public final TcpProtocolOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
-
mergeUnknownFields
public final TcpProtocolOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
-
-