Interface GrpcJsonTranscoder.RequestValidationOptionsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GrpcJsonTranscoder.RequestValidationOptions, GrpcJsonTranscoder.RequestValidationOptions.Builder
Enclosing class:
GrpcJsonTranscoder

public static interface GrpcJsonTranscoder.RequestValidationOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    "id: 456" in the body will override "id=123" in the binding.
    boolean
    By default, a request that cannot be mapped to any specified gRPC :ref:`services <envoy_v3_api_field_extensions.filters.http.grpc_json_transcoder.v3.GrpcJsonTranscoder.services>` will pass-through this filter.
    boolean
    By default, a request with query parameters that cannot be mapped to the gRPC request message will pass-through this filter.

    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

    • getRejectUnknownMethod

      boolean getRejectUnknownMethod()
       By default, a request that cannot be mapped to any specified gRPC
       :ref:`services <envoy_v3_api_field_extensions.filters.http.grpc_json_transcoder.v3.GrpcJsonTranscoder.services>`
       will pass-through this filter.
       When set to true, the request will be rejected with a ``HTTP 404 Not Found``.
       
      bool reject_unknown_method = 1;
      Returns:
      The rejectUnknownMethod.
    • getRejectUnknownQueryParameters

      boolean getRejectUnknownQueryParameters()
       By default, a request with query parameters that cannot be mapped to the gRPC request message
       will pass-through this filter.
       When set to true, the request will be rejected with a ``HTTP 400 Bad Request``.
      
       The fields
       :ref:`ignore_unknown_query_parameters <envoy_v3_api_field_extensions.filters.http.grpc_json_transcoder.v3.GrpcJsonTranscoder.ignore_unknown_query_parameters>`,
       :ref:`capture_unknown_query_parameters <envoy_v3_api_field_extensions.filters.http.grpc_json_transcoder.v3.GrpcJsonTranscoder.capture_unknown_query_parameters>`,
       and
       :ref:`ignored_query_parameters <envoy_v3_api_field_extensions.filters.http.grpc_json_transcoder.v3.GrpcJsonTranscoder.ignored_query_parameters>`
       have priority over this strict validation behavior.
       
      bool reject_unknown_query_parameters = 2;
      Returns:
      The rejectUnknownQueryParameters.
    • getRejectBindingBodyFieldCollisions

      boolean getRejectBindingBodyFieldCollisions()
       "id: 456" in the body will override "id=123" in the binding.
      
       If this field is set to true, the request will be rejected if the binding
       value is different from the body value.
       
      bool reject_binding_body_field_collisions = 3;
      Returns:
      The rejectBindingBodyFieldCollisions.