code: @Config("thrift.max-frame-size")
      public ThriftServerConfig setMaxFrameSize(DataSize maxFrameSize)
      {
          checkArgument(maxFrameSize.toBytes() <= 0x3FFFFFFF);
          this.maxFrameSize = maxFrameSize;
          return this;
      }
docs: Sets a maximum frame size
  @param maxFrameSize
  @return