Class TcpProxy.TcpAccessLogOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.TcpAccessLogOptions.Builder>
-
- io.envoyproxy.envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TcpProxy.TcpAccessLogOptionsOrBuilder,Cloneable
- Enclosing class:
- TcpProxy.TcpAccessLogOptions
public static final class TcpProxy.TcpAccessLogOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.TcpAccessLogOptions.Builder> implements TcpProxy.TcpAccessLogOptionsOrBuilder
Protobuf typeenvoy.extensions.filters.network.tcp_proxy.v3.TcpProxy.TcpAccessLogOptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TcpProxy.TcpAccessLogOptions.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TcpProxy.TcpAccessLogOptionsbuild()TcpProxy.TcpAccessLogOptionsbuildPartial()TcpProxy.TcpAccessLogOptions.Builderclear()TcpProxy.TcpAccessLogOptions.BuilderclearAccessLogFlushInterval()The interval to flush access log.TcpProxy.TcpAccessLogOptions.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TcpProxy.TcpAccessLogOptions.BuilderclearFlushAccessLogOnConnected()If set to true, access log will be flushed when the TCP proxy has successfully established a connection with the upstream.TcpProxy.TcpAccessLogOptions.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TcpProxy.TcpAccessLogOptions.Builderclone()com.google.protobuf.DurationgetAccessLogFlushInterval()The interval to flush access log.com.google.protobuf.Duration.BuildergetAccessLogFlushIntervalBuilder()The interval to flush access log.com.google.protobuf.DurationOrBuildergetAccessLogFlushIntervalOrBuilder()The interval to flush access log.TcpProxy.TcpAccessLogOptionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetFlushAccessLogOnConnected()If set to true, access log will be flushed when the TCP proxy has successfully established a connection with the upstream.booleanhasAccessLogFlushInterval()The interval to flush access log.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TcpProxy.TcpAccessLogOptions.BuildermergeAccessLogFlushInterval(com.google.protobuf.Duration value)The interval to flush access log.TcpProxy.TcpAccessLogOptions.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TcpProxy.TcpAccessLogOptions.BuildermergeFrom(com.google.protobuf.Message other)TcpProxy.TcpAccessLogOptions.BuildermergeFrom(TcpProxy.TcpAccessLogOptions other)TcpProxy.TcpAccessLogOptions.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TcpProxy.TcpAccessLogOptions.BuildersetAccessLogFlushInterval(com.google.protobuf.Duration value)The interval to flush access log.TcpProxy.TcpAccessLogOptions.BuildersetAccessLogFlushInterval(com.google.protobuf.Duration.Builder builderForValue)The interval to flush access log.TcpProxy.TcpAccessLogOptions.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TcpProxy.TcpAccessLogOptions.BuildersetFlushAccessLogOnConnected(boolean value)If set to true, access log will be flushed when the TCP proxy has successfully established a connection with the upstream.TcpProxy.TcpAccessLogOptions.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TcpProxy.TcpAccessLogOptions.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<TcpProxy.TcpAccessLogOptions.Builder>
-
clear
public TcpProxy.TcpAccessLogOptions.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<TcpProxy.TcpAccessLogOptions.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<TcpProxy.TcpAccessLogOptions.Builder>
-
getDefaultInstanceForType
public TcpProxy.TcpAccessLogOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TcpProxy.TcpAccessLogOptions build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TcpProxy.TcpAccessLogOptions buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TcpProxy.TcpAccessLogOptions.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<TcpProxy.TcpAccessLogOptions.Builder>
-
setField
public TcpProxy.TcpAccessLogOptions.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<TcpProxy.TcpAccessLogOptions.Builder>
-
clearField
public TcpProxy.TcpAccessLogOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.TcpAccessLogOptions.Builder>
-
clearOneof
public TcpProxy.TcpAccessLogOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.TcpAccessLogOptions.Builder>
-
setRepeatedField
public TcpProxy.TcpAccessLogOptions.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<TcpProxy.TcpAccessLogOptions.Builder>
-
addRepeatedField
public TcpProxy.TcpAccessLogOptions.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<TcpProxy.TcpAccessLogOptions.Builder>
-
mergeFrom
public TcpProxy.TcpAccessLogOptions.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TcpProxy.TcpAccessLogOptions.Builder>
-
mergeFrom
public TcpProxy.TcpAccessLogOptions.Builder mergeFrom(TcpProxy.TcpAccessLogOptions other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.TcpAccessLogOptions.Builder>
-
mergeFrom
public TcpProxy.TcpAccessLogOptions.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<TcpProxy.TcpAccessLogOptions.Builder>- Throws:
IOException
-
hasAccessLogFlushInterval
public boolean hasAccessLogFlushInterval()
The interval to flush access log. The TCP proxy will flush only one access log when the connection is closed by default. If this field is set, the TCP proxy will flush access log periodically with the specified interval. The interval must be at least 1ms.
.google.protobuf.Duration access_log_flush_interval = 1 [(.validate.rules) = { ... }- Specified by:
hasAccessLogFlushIntervalin interfaceTcpProxy.TcpAccessLogOptionsOrBuilder- Returns:
- Whether the accessLogFlushInterval field is set.
-
getAccessLogFlushInterval
public com.google.protobuf.Duration getAccessLogFlushInterval()
The interval to flush access log. The TCP proxy will flush only one access log when the connection is closed by default. If this field is set, the TCP proxy will flush access log periodically with the specified interval. The interval must be at least 1ms.
.google.protobuf.Duration access_log_flush_interval = 1 [(.validate.rules) = { ... }- Specified by:
getAccessLogFlushIntervalin interfaceTcpProxy.TcpAccessLogOptionsOrBuilder- Returns:
- The accessLogFlushInterval.
-
setAccessLogFlushInterval
public TcpProxy.TcpAccessLogOptions.Builder setAccessLogFlushInterval(com.google.protobuf.Duration value)
The interval to flush access log. The TCP proxy will flush only one access log when the connection is closed by default. If this field is set, the TCP proxy will flush access log periodically with the specified interval. The interval must be at least 1ms.
.google.protobuf.Duration access_log_flush_interval = 1 [(.validate.rules) = { ... }
-
setAccessLogFlushInterval
public TcpProxy.TcpAccessLogOptions.Builder setAccessLogFlushInterval(com.google.protobuf.Duration.Builder builderForValue)
The interval to flush access log. The TCP proxy will flush only one access log when the connection is closed by default. If this field is set, the TCP proxy will flush access log periodically with the specified interval. The interval must be at least 1ms.
.google.protobuf.Duration access_log_flush_interval = 1 [(.validate.rules) = { ... }
-
mergeAccessLogFlushInterval
public TcpProxy.TcpAccessLogOptions.Builder mergeAccessLogFlushInterval(com.google.protobuf.Duration value)
The interval to flush access log. The TCP proxy will flush only one access log when the connection is closed by default. If this field is set, the TCP proxy will flush access log periodically with the specified interval. The interval must be at least 1ms.
.google.protobuf.Duration access_log_flush_interval = 1 [(.validate.rules) = { ... }
-
clearAccessLogFlushInterval
public TcpProxy.TcpAccessLogOptions.Builder clearAccessLogFlushInterval()
The interval to flush access log. The TCP proxy will flush only one access log when the connection is closed by default. If this field is set, the TCP proxy will flush access log periodically with the specified interval. The interval must be at least 1ms.
.google.protobuf.Duration access_log_flush_interval = 1 [(.validate.rules) = { ... }
-
getAccessLogFlushIntervalBuilder
public com.google.protobuf.Duration.Builder getAccessLogFlushIntervalBuilder()
The interval to flush access log. The TCP proxy will flush only one access log when the connection is closed by default. If this field is set, the TCP proxy will flush access log periodically with the specified interval. The interval must be at least 1ms.
.google.protobuf.Duration access_log_flush_interval = 1 [(.validate.rules) = { ... }
-
getAccessLogFlushIntervalOrBuilder
public com.google.protobuf.DurationOrBuilder getAccessLogFlushIntervalOrBuilder()
The interval to flush access log. The TCP proxy will flush only one access log when the connection is closed by default. If this field is set, the TCP proxy will flush access log periodically with the specified interval. The interval must be at least 1ms.
.google.protobuf.Duration access_log_flush_interval = 1 [(.validate.rules) = { ... }- Specified by:
getAccessLogFlushIntervalOrBuilderin interfaceTcpProxy.TcpAccessLogOptionsOrBuilder
-
getFlushAccessLogOnConnected
public boolean getFlushAccessLogOnConnected()
If set to true, access log will be flushed when the TCP proxy has successfully established a connection with the upstream. If the connection failed, the access log will not be flushed.
bool flush_access_log_on_connected = 2;- Specified by:
getFlushAccessLogOnConnectedin interfaceTcpProxy.TcpAccessLogOptionsOrBuilder- Returns:
- The flushAccessLogOnConnected.
-
setFlushAccessLogOnConnected
public TcpProxy.TcpAccessLogOptions.Builder setFlushAccessLogOnConnected(boolean value)
If set to true, access log will be flushed when the TCP proxy has successfully established a connection with the upstream. If the connection failed, the access log will not be flushed.
bool flush_access_log_on_connected = 2;- Parameters:
value- The flushAccessLogOnConnected to set.- Returns:
- This builder for chaining.
-
clearFlushAccessLogOnConnected
public TcpProxy.TcpAccessLogOptions.Builder clearFlushAccessLogOnConnected()
If set to true, access log will be flushed when the TCP proxy has successfully established a connection with the upstream. If the connection failed, the access log will not be flushed.
bool flush_access_log_on_connected = 2;- Returns:
- This builder for chaining.
-
setUnknownFields
public final TcpProxy.TcpAccessLogOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.TcpAccessLogOptions.Builder>
-
mergeUnknownFields
public final TcpProxy.TcpAccessLogOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.TcpAccessLogOptions.Builder>
-
-