Interface MongoProxyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MongoProxy,MongoProxy.Builder
public interface MongoProxyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAccessLog()The optional path to use for writing Mongo access logs.com.google.protobuf.ByteStringgetAccessLogBytes()The optional path to use for writing Mongo access logs.FaultDelaygetDelay()Inject a fixed delay before proxying a Mongo operation.FaultDelayOrBuildergetDelayOrBuilder()Inject a fixed delay before proxying a Mongo operation.booleangetEmitDynamicMetadata()Flag to specify whether :ref:`dynamic metadata <config_network_filters_mongo_proxy_dynamic_metadata>` should be emitted.StringgetStatPrefix()The human readable prefix to use when emitting :ref:`statistics <config_network_filters_mongo_proxy_stats>`.com.google.protobuf.ByteStringgetStatPrefixBytes()The human readable prefix to use when emitting :ref:`statistics <config_network_filters_mongo_proxy_stats>`.booleanhasDelay()Inject a fixed delay before proxying a Mongo operation.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getStatPrefix
String getStatPrefix()
The human readable prefix to use when emitting :ref:`statistics <config_network_filters_mongo_proxy_stats>`.
string stat_prefix = 1 [(.validate.rules) = { ... }
-
getStatPrefixBytes
com.google.protobuf.ByteString getStatPrefixBytes()
The human readable prefix to use when emitting :ref:`statistics <config_network_filters_mongo_proxy_stats>`.
string stat_prefix = 1 [(.validate.rules) = { ... }
-
getAccessLog
String getAccessLog()
The optional path to use for writing Mongo access logs. If not access log path is specified no access logs will be written. Note that access log is also gated :ref:`runtime <config_network_filters_mongo_proxy_runtime>`.
string access_log = 2;
-
getAccessLogBytes
com.google.protobuf.ByteString getAccessLogBytes()
The optional path to use for writing Mongo access logs. If not access log path is specified no access logs will be written. Note that access log is also gated :ref:`runtime <config_network_filters_mongo_proxy_runtime>`.
string access_log = 2;
-
hasDelay
boolean hasDelay()
Inject a fixed delay before proxying a Mongo operation. Delays are applied to the following MongoDB operations: Query, Insert, GetMore, and KillCursors. Once an active delay is in progress, all incoming data up until the timer event fires will be a part of the delay.
.envoy.config.filter.fault.v2.FaultDelay delay = 3;
-
getDelay
FaultDelay getDelay()
Inject a fixed delay before proxying a Mongo operation. Delays are applied to the following MongoDB operations: Query, Insert, GetMore, and KillCursors. Once an active delay is in progress, all incoming data up until the timer event fires will be a part of the delay.
.envoy.config.filter.fault.v2.FaultDelay delay = 3;
-
getDelayOrBuilder
FaultDelayOrBuilder getDelayOrBuilder()
Inject a fixed delay before proxying a Mongo operation. Delays are applied to the following MongoDB operations: Query, Insert, GetMore, and KillCursors. Once an active delay is in progress, all incoming data up until the timer event fires will be a part of the delay.
.envoy.config.filter.fault.v2.FaultDelay delay = 3;
-
getEmitDynamicMetadata
boolean getEmitDynamicMetadata()
Flag to specify whether :ref:`dynamic metadata <config_network_filters_mongo_proxy_dynamic_metadata>` should be emitted. Defaults to false.
bool emit_dynamic_metadata = 4;
-
-