Interface McpOverrideOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
McpOverride, McpOverride.Builder

public interface McpOverrideOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.UInt32Value
    Optional per-route max request body size override.
    com.google.protobuf.UInt32ValueOrBuilder
    Optional per-route max request body size override.
    Optional per-route traffic mode override
    int
    Optional per-route traffic mode override
    boolean
    Optional per-route max request body size override.

    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 Details

    • getTrafficModeValue

      int getTrafficModeValue()
       Optional per-route traffic mode override
       
      .envoy.extensions.filters.http.mcp.v3.Mcp.TrafficMode traffic_mode = 1 [(.validate.rules) = { ... }
      Returns:
      The enum numeric value on the wire for trafficMode.
    • getTrafficMode

      Mcp.TrafficMode getTrafficMode()
       Optional per-route traffic mode override
       
      .envoy.extensions.filters.http.mcp.v3.Mcp.TrafficMode traffic_mode = 1 [(.validate.rules) = { ... }
      Returns:
      The trafficMode.
    • hasMaxRequestBodySize

      boolean hasMaxRequestBodySize()
       Optional per-route max request body size override.
       When set, this overrides the global max_request_body_size for this route.
       It defaults to 8KB (8192 bytes) and the maximum allowed value is 10MB (10485760 bytes).
       
      .google.protobuf.UInt32Value max_request_body_size = 2 [(.validate.rules) = { ... }
      Returns:
      Whether the maxRequestBodySize field is set.
    • getMaxRequestBodySize

      com.google.protobuf.UInt32Value getMaxRequestBodySize()
       Optional per-route max request body size override.
       When set, this overrides the global max_request_body_size for this route.
       It defaults to 8KB (8192 bytes) and the maximum allowed value is 10MB (10485760 bytes).
       
      .google.protobuf.UInt32Value max_request_body_size = 2 [(.validate.rules) = { ... }
      Returns:
      The maxRequestBodySize.
    • getMaxRequestBodySizeOrBuilder

      com.google.protobuf.UInt32ValueOrBuilder getMaxRequestBodySizeOrBuilder()
       Optional per-route max request body size override.
       When set, this overrides the global max_request_body_size for this route.
       It defaults to 8KB (8192 bytes) and the maximum allowed value is 10MB (10485760 bytes).
       
      .google.protobuf.UInt32Value max_request_body_size = 2 [(.validate.rules) = { ... }