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
      String getAccessLog()
      The optional path to use for writing Mongo access logs.
      com.google.protobuf.ByteString getAccessLogBytes()
      The optional path to use for writing Mongo access logs.
      FaultDelay getDelay()
      Inject a fixed delay before proxying a Mongo operation.
      FaultDelayOrBuilder getDelayOrBuilder()
      Inject a fixed delay before proxying a Mongo operation.
      boolean getEmitDynamicMetadata()
      Flag to specify whether :ref:`dynamic metadata <config_network_filters_mongo_proxy_dynamic_metadata>` should be emitted.
      String getStatPrefix()
      The human readable prefix to use when emitting :ref:`statistics <config_network_filters_mongo_proxy_stats>`.
      com.google.protobuf.ByteString getStatPrefixBytes()
      The human readable prefix to use when emitting :ref:`statistics <config_network_filters_mongo_proxy_stats>`.
      boolean hasDelay()
      Inject a fixed delay before proxying a Mongo operation.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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) = { ... }
        Returns:
        The statPrefix.
      • 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) = { ... }
        Returns:
        The bytes for statPrefix.
      • 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;
        Returns:
        The accessLog.
      • 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;
        Returns:
        The bytes for accessLog.
      • 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;
        Returns:
        Whether the delay field is set.
      • 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;
        Returns:
        The delay.
      • 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;
        Returns:
        The emitDynamicMetadata.