Class Router.UpstreamAccessLogOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Router.UpstreamAccessLogOptions.Builder>
-
- io.envoyproxy.envoy.extensions.filters.http.router.v3.Router.UpstreamAccessLogOptions.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Router.UpstreamAccessLogOptionsOrBuilder,Cloneable
- Enclosing class:
- Router.UpstreamAccessLogOptions
public static final class Router.UpstreamAccessLogOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Router.UpstreamAccessLogOptions.Builder> implements Router.UpstreamAccessLogOptionsOrBuilder
Protobuf typeenvoy.extensions.filters.http.router.v3.Router.UpstreamAccessLogOptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Router.UpstreamAccessLogOptions.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Router.UpstreamAccessLogOptionsbuild()Router.UpstreamAccessLogOptionsbuildPartial()Router.UpstreamAccessLogOptions.Builderclear()Router.UpstreamAccessLogOptions.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Router.UpstreamAccessLogOptions.BuilderclearFlushUpstreamLogOnUpstreamStream()If set to true, an upstream access log will be recorded when an upstream stream is associated to an http request.Router.UpstreamAccessLogOptions.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Router.UpstreamAccessLogOptions.BuilderclearUpstreamLogFlushInterval()The interval to flush the upstream access logs.Router.UpstreamAccessLogOptions.Builderclone()Router.UpstreamAccessLogOptionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetFlushUpstreamLogOnUpstreamStream()If set to true, an upstream access log will be recorded when an upstream stream is associated to an http request.com.google.protobuf.DurationgetUpstreamLogFlushInterval()The interval to flush the upstream access logs.com.google.protobuf.Duration.BuildergetUpstreamLogFlushIntervalBuilder()The interval to flush the upstream access logs.com.google.protobuf.DurationOrBuildergetUpstreamLogFlushIntervalOrBuilder()The interval to flush the upstream access logs.booleanhasUpstreamLogFlushInterval()The interval to flush the upstream access logs.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Router.UpstreamAccessLogOptions.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Router.UpstreamAccessLogOptions.BuildermergeFrom(com.google.protobuf.Message other)Router.UpstreamAccessLogOptions.BuildermergeFrom(Router.UpstreamAccessLogOptions other)Router.UpstreamAccessLogOptions.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Router.UpstreamAccessLogOptions.BuildermergeUpstreamLogFlushInterval(com.google.protobuf.Duration value)The interval to flush the upstream access logs.Router.UpstreamAccessLogOptions.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Router.UpstreamAccessLogOptions.BuildersetFlushUpstreamLogOnUpstreamStream(boolean value)If set to true, an upstream access log will be recorded when an upstream stream is associated to an http request.Router.UpstreamAccessLogOptions.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Router.UpstreamAccessLogOptions.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Router.UpstreamAccessLogOptions.BuildersetUpstreamLogFlushInterval(com.google.protobuf.Duration value)The interval to flush the upstream access logs.Router.UpstreamAccessLogOptions.BuildersetUpstreamLogFlushInterval(com.google.protobuf.Duration.Builder builderForValue)The interval to flush the upstream access logs.-
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<Router.UpstreamAccessLogOptions.Builder>
-
clear
public Router.UpstreamAccessLogOptions.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<Router.UpstreamAccessLogOptions.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<Router.UpstreamAccessLogOptions.Builder>
-
getDefaultInstanceForType
public Router.UpstreamAccessLogOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Router.UpstreamAccessLogOptions build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Router.UpstreamAccessLogOptions buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Router.UpstreamAccessLogOptions.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<Router.UpstreamAccessLogOptions.Builder>
-
setField
public Router.UpstreamAccessLogOptions.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<Router.UpstreamAccessLogOptions.Builder>
-
clearField
public Router.UpstreamAccessLogOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Router.UpstreamAccessLogOptions.Builder>
-
clearOneof
public Router.UpstreamAccessLogOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Router.UpstreamAccessLogOptions.Builder>
-
setRepeatedField
public Router.UpstreamAccessLogOptions.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<Router.UpstreamAccessLogOptions.Builder>
-
addRepeatedField
public Router.UpstreamAccessLogOptions.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<Router.UpstreamAccessLogOptions.Builder>
-
mergeFrom
public Router.UpstreamAccessLogOptions.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Router.UpstreamAccessLogOptions.Builder>
-
mergeFrom
public Router.UpstreamAccessLogOptions.Builder mergeFrom(Router.UpstreamAccessLogOptions other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Router.UpstreamAccessLogOptions.Builder>
-
mergeFrom
public Router.UpstreamAccessLogOptions.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<Router.UpstreamAccessLogOptions.Builder>- Throws:
IOException
-
getFlushUpstreamLogOnUpstreamStream
public boolean getFlushUpstreamLogOnUpstreamStream()
If set to true, an upstream access log will be recorded when an upstream stream is associated to an http request. Note: Each HTTP request received for an already established connection will result in an upstream access log record. This includes, for example, consecutive HTTP requests over the same connection or a request that is retried. In case a retry is applied, an upstream access log will be recorded for each retry.
bool flush_upstream_log_on_upstream_stream = 1;- Specified by:
getFlushUpstreamLogOnUpstreamStreamin interfaceRouter.UpstreamAccessLogOptionsOrBuilder- Returns:
- The flushUpstreamLogOnUpstreamStream.
-
setFlushUpstreamLogOnUpstreamStream
public Router.UpstreamAccessLogOptions.Builder setFlushUpstreamLogOnUpstreamStream(boolean value)
If set to true, an upstream access log will be recorded when an upstream stream is associated to an http request. Note: Each HTTP request received for an already established connection will result in an upstream access log record. This includes, for example, consecutive HTTP requests over the same connection or a request that is retried. In case a retry is applied, an upstream access log will be recorded for each retry.
bool flush_upstream_log_on_upstream_stream = 1;- Parameters:
value- The flushUpstreamLogOnUpstreamStream to set.- Returns:
- This builder for chaining.
-
clearFlushUpstreamLogOnUpstreamStream
public Router.UpstreamAccessLogOptions.Builder clearFlushUpstreamLogOnUpstreamStream()
If set to true, an upstream access log will be recorded when an upstream stream is associated to an http request. Note: Each HTTP request received for an already established connection will result in an upstream access log record. This includes, for example, consecutive HTTP requests over the same connection or a request that is retried. In case a retry is applied, an upstream access log will be recorded for each retry.
bool flush_upstream_log_on_upstream_stream = 1;- Returns:
- This builder for chaining.
-
hasUpstreamLogFlushInterval
public boolean hasUpstreamLogFlushInterval()
The interval to flush the upstream access logs. By default, the router will flush an upstream access log on stream close, when the HTTP request is complete. If this field is set, the router will flush access logs periodically at the specified interval. This is especially useful in the case of long-lived requests, such as CONNECT and Websockets. The interval must be at least 1 millisecond.
.google.protobuf.Duration upstream_log_flush_interval = 2 [(.validate.rules) = { ... }- Specified by:
hasUpstreamLogFlushIntervalin interfaceRouter.UpstreamAccessLogOptionsOrBuilder- Returns:
- Whether the upstreamLogFlushInterval field is set.
-
getUpstreamLogFlushInterval
public com.google.protobuf.Duration getUpstreamLogFlushInterval()
The interval to flush the upstream access logs. By default, the router will flush an upstream access log on stream close, when the HTTP request is complete. If this field is set, the router will flush access logs periodically at the specified interval. This is especially useful in the case of long-lived requests, such as CONNECT and Websockets. The interval must be at least 1 millisecond.
.google.protobuf.Duration upstream_log_flush_interval = 2 [(.validate.rules) = { ... }- Specified by:
getUpstreamLogFlushIntervalin interfaceRouter.UpstreamAccessLogOptionsOrBuilder- Returns:
- The upstreamLogFlushInterval.
-
setUpstreamLogFlushInterval
public Router.UpstreamAccessLogOptions.Builder setUpstreamLogFlushInterval(com.google.protobuf.Duration value)
The interval to flush the upstream access logs. By default, the router will flush an upstream access log on stream close, when the HTTP request is complete. If this field is set, the router will flush access logs periodically at the specified interval. This is especially useful in the case of long-lived requests, such as CONNECT and Websockets. The interval must be at least 1 millisecond.
.google.protobuf.Duration upstream_log_flush_interval = 2 [(.validate.rules) = { ... }
-
setUpstreamLogFlushInterval
public Router.UpstreamAccessLogOptions.Builder setUpstreamLogFlushInterval(com.google.protobuf.Duration.Builder builderForValue)
The interval to flush the upstream access logs. By default, the router will flush an upstream access log on stream close, when the HTTP request is complete. If this field is set, the router will flush access logs periodically at the specified interval. This is especially useful in the case of long-lived requests, such as CONNECT and Websockets. The interval must be at least 1 millisecond.
.google.protobuf.Duration upstream_log_flush_interval = 2 [(.validate.rules) = { ... }
-
mergeUpstreamLogFlushInterval
public Router.UpstreamAccessLogOptions.Builder mergeUpstreamLogFlushInterval(com.google.protobuf.Duration value)
The interval to flush the upstream access logs. By default, the router will flush an upstream access log on stream close, when the HTTP request is complete. If this field is set, the router will flush access logs periodically at the specified interval. This is especially useful in the case of long-lived requests, such as CONNECT and Websockets. The interval must be at least 1 millisecond.
.google.protobuf.Duration upstream_log_flush_interval = 2 [(.validate.rules) = { ... }
-
clearUpstreamLogFlushInterval
public Router.UpstreamAccessLogOptions.Builder clearUpstreamLogFlushInterval()
The interval to flush the upstream access logs. By default, the router will flush an upstream access log on stream close, when the HTTP request is complete. If this field is set, the router will flush access logs periodically at the specified interval. This is especially useful in the case of long-lived requests, such as CONNECT and Websockets. The interval must be at least 1 millisecond.
.google.protobuf.Duration upstream_log_flush_interval = 2 [(.validate.rules) = { ... }
-
getUpstreamLogFlushIntervalBuilder
public com.google.protobuf.Duration.Builder getUpstreamLogFlushIntervalBuilder()
The interval to flush the upstream access logs. By default, the router will flush an upstream access log on stream close, when the HTTP request is complete. If this field is set, the router will flush access logs periodically at the specified interval. This is especially useful in the case of long-lived requests, such as CONNECT and Websockets. The interval must be at least 1 millisecond.
.google.protobuf.Duration upstream_log_flush_interval = 2 [(.validate.rules) = { ... }
-
getUpstreamLogFlushIntervalOrBuilder
public com.google.protobuf.DurationOrBuilder getUpstreamLogFlushIntervalOrBuilder()
The interval to flush the upstream access logs. By default, the router will flush an upstream access log on stream close, when the HTTP request is complete. If this field is set, the router will flush access logs periodically at the specified interval. This is especially useful in the case of long-lived requests, such as CONNECT and Websockets. The interval must be at least 1 millisecond.
.google.protobuf.Duration upstream_log_flush_interval = 2 [(.validate.rules) = { ... }- Specified by:
getUpstreamLogFlushIntervalOrBuilderin interfaceRouter.UpstreamAccessLogOptionsOrBuilder
-
setUnknownFields
public final Router.UpstreamAccessLogOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Router.UpstreamAccessLogOptions.Builder>
-
mergeUnknownFields
public final Router.UpstreamAccessLogOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Router.UpstreamAccessLogOptions.Builder>
-
-