Interface ConfigOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getUpgradeProtobufToGrpc()
      If true then requests with content type set to ``application/x-protobuf`` will be automatically converted to gRPC.
      • 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

      • getUpgradeProtobufToGrpc

        boolean getUpgradeProtobufToGrpc()
         If true then requests with content type set to ``application/x-protobuf`` will be automatically converted to gRPC.
         This works by prepending the payload data with the gRPC header frame, as defined by the wiring format, and
         Content-Type will be updated accordingly before sending the request.
         For the requests that went through this upgrade the filter will also strip the frame before forwarding the
         response to the client.
         
        bool upgrade_protobuf_to_grpc = 1;
        Returns:
        The upgradeProtobufToGrpc.