Interface Compressor.CommonDirectionConfigOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getContentType​(int index)
      Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc.
      com.google.protobuf.ByteString getContentTypeBytes​(int index)
      Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc.
      int getContentTypeCount()
      Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc.
      List<String> getContentTypeList()
      Set of strings that allows specifying which mime-types yield compression; e.g., application/json, text/html, etc.
      RuntimeFeatureFlag getEnabled()
      Runtime flag that controls whether compression is enabled or not for the direction this common config is put in.
      RuntimeFeatureFlagOrBuilder getEnabledOrBuilder()
      Runtime flag that controls whether compression is enabled or not for the direction this common config is put in.
      com.google.protobuf.UInt32Value getMinContentLength()
      Minimum value of Content-Length header of request or response messages (depending on the direction this common config is put in), in bytes, which will trigger compression.
      com.google.protobuf.UInt32ValueOrBuilder getMinContentLengthOrBuilder()
      Minimum value of Content-Length header of request or response messages (depending on the direction this common config is put in), in bytes, which will trigger compression.
      boolean hasEnabled()
      Runtime flag that controls whether compression is enabled or not for the direction this common config is put in.
      boolean hasMinContentLength()
      Minimum value of Content-Length header of request or response messages (depending on the direction this common config is put in), in bytes, which will trigger compression.
      • 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

      • hasEnabled

        boolean hasEnabled()
         Runtime flag that controls whether compression is enabled or not for the direction this
         common config is put in. If set to false, the filter will operate as a pass-through filter
         in the chosen direction. If the field is omitted, the filter will be enabled.
         
        .envoy.config.core.v3.RuntimeFeatureFlag enabled = 1;
      • getEnabled

        RuntimeFeatureFlag getEnabled()
         Runtime flag that controls whether compression is enabled or not for the direction this
         common config is put in. If set to false, the filter will operate as a pass-through filter
         in the chosen direction. If the field is omitted, the filter will be enabled.
         
        .envoy.config.core.v3.RuntimeFeatureFlag enabled = 1;
      • getEnabledOrBuilder

        RuntimeFeatureFlagOrBuilder getEnabledOrBuilder()
         Runtime flag that controls whether compression is enabled or not for the direction this
         common config is put in. If set to false, the filter will operate as a pass-through filter
         in the chosen direction. If the field is omitted, the filter will be enabled.
         
        .envoy.config.core.v3.RuntimeFeatureFlag enabled = 1;
      • hasMinContentLength

        boolean hasMinContentLength()
         Minimum value of Content-Length header of request or response messages (depending on the direction
         this common config is put in), in bytes, which will trigger compression. The default value is 30.
         
        .google.protobuf.UInt32Value min_content_length = 2;
      • getMinContentLength

        com.google.protobuf.UInt32Value getMinContentLength()
         Minimum value of Content-Length header of request or response messages (depending on the direction
         this common config is put in), in bytes, which will trigger compression. The default value is 30.
         
        .google.protobuf.UInt32Value min_content_length = 2;
      • getMinContentLengthOrBuilder

        com.google.protobuf.UInt32ValueOrBuilder getMinContentLengthOrBuilder()
         Minimum value of Content-Length header of request or response messages (depending on the direction
         this common config is put in), in bytes, which will trigger compression. The default value is 30.
         
        .google.protobuf.UInt32Value min_content_length = 2;
      • getContentTypeList

        List<String> getContentTypeList()
         Set of strings that allows specifying which mime-types yield compression; e.g.,
         application/json, text/html, etc. When this field is not defined, compression will be applied
         to the following mime-types: "application/javascript", "application/json",
         "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml"
         and their synonyms.
         
        repeated string content_type = 3;
      • getContentTypeCount

        int getContentTypeCount()
         Set of strings that allows specifying which mime-types yield compression; e.g.,
         application/json, text/html, etc. When this field is not defined, compression will be applied
         to the following mime-types: "application/javascript", "application/json",
         "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml"
         and their synonyms.
         
        repeated string content_type = 3;
      • getContentType

        String getContentType​(int index)
         Set of strings that allows specifying which mime-types yield compression; e.g.,
         application/json, text/html, etc. When this field is not defined, compression will be applied
         to the following mime-types: "application/javascript", "application/json",
         "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml"
         and their synonyms.
         
        repeated string content_type = 3;
      • getContentTypeBytes

        com.google.protobuf.ByteString getContentTypeBytes​(int index)
         Set of strings that allows specifying which mime-types yield compression; e.g.,
         application/json, text/html, etc. When this field is not defined, compression will be applied
         to the following mime-types: "application/javascript", "application/json",
         "application/xhtml+xml", "image/svg+xml", "text/css", "text/html", "text/plain", "text/xml"
         and their synonyms.
         
        repeated string content_type = 3;